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

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

View File

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