库存调整记录查询条件添加

This commit is contained in:
zhou-hongcheng
2026-03-16 10:07:26 +08:00
parent a7674084e4
commit 67e56ba722
2 changed files with 11 additions and 0 deletions
@@ -101,6 +101,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="materialCode != null and materialCode != ''">
and a.material_code = #{materialCode}
</if>
<if test="adjustAction != null and adjustAction != ''">
and a.adjust_action = #{adjustAction}
</if>
<if test="relateNo != null and relateNo != ''">
and a.relate_no = #{relateNo}
</if>
<if test="materialName != null and materialName != ''">
and a.material_name like concat('%', #{materialName}, '%')
</if>