fix: 修复零部件出库单查询出错的问题

This commit is contained in:
曹鹏飞 2025-10-09 14:03:18 +08:00
parent f86b8b0f7f
commit dda2f7e8ff
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
from wms_component_packing from wms_component_packing
<where> <where>
<if test="request.no !=null and request.no !=''"> <if test="request.no !=null and request.no !=''">
and no ilike concat('%', #{request.no}, '%') and "no" ilike concat('%', #{request.no}, '%')
</if> </if>
<if test="request.name1 !=null and request.name1 !=''"> <if test="request.name1 !=null and request.name1 !=''">
and name1 ilike concat('%', #{request.name1}, '%') and name1 ilike concat('%', #{request.name1}, '%')
@ -41,7 +41,7 @@
from wms_component_packing from wms_component_packing
where is_completed=0 where is_completed=0
<if test="no !=null and no !=''"> <if test="no !=null and no !=''">
and no like concat('%', #{no}, '%') or vbelv like concat('%', #{no}, '%') and ("no" like concat('%', #{no}, '%') or vbelv like concat('%', #{no}, '%'))
</if> </if>
order by datum desc order by datum desc
</select> </select>