仓库编码模糊查询

This commit is contained in:
秦鸿展
2026-02-05 16:46:12 +08:00
parent 54510f73cd
commit 14dcecb5d4
2 changed files with 4 additions and 4 deletions
@@ -58,7 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and top_organization_id = #{topOrganizationId}
</if>
<if test="warehouseCode != null and warehouseCode != ''">
and warehouse_code = #{warehouseCode}
and warehouse_code like concat('%', #{warehouseCode}, '%')
</if>
<if test="warehouseName != null and warehouseName != ''">
and warehouse_name like concat('%', #{warehouseName}, '%')