erp 库位sql优化

This commit is contained in:
liss
2025-10-11 17:36:43 +08:00
parent 2cd5df0d5f
commit 40a2322cfb
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
and f.NUM like concat('%', #{number}, '%')
</if>
<if test="erpCompanyNumber != null">
and f.CPN_ID = like concat('%', #{erpCompanyNumber}, '%')
and f.CPN_ID like concat('%', #{erpCompanyNumber}, '%')
</if>
<if test="erpCompanyName != null">
and c.NAME like concat('%', #{erpCompanyName}, '%')