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

This commit is contained in:
王奎兴
2026-05-29 20:57:38 +08:00
parent 3ad3707c59
commit 13e770013a
7 changed files with 37 additions and 3 deletions
@@ -117,6 +117,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="barCode != null and barCode != ''">
and a.bar_code = #{barCode}
</if>
<if test="batchNumber != null and batchNumber != ''">
and b.batch_number = #{batchNumber}
</if>
<if test="lotCode != null and lotCode != ''">
and b.lot_number = #{lotCode}
</if>
<if test="shipperId != null ">
and a.shipper_id = #{shipperId}
</if>
@@ -189,6 +195,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createByName != null and createByName != ''">
and a.create_by_name like concat('%', #{createByName}, '%')
</if>
<if test="expiryDate != null and expiryDate != ''">
AND DATE(b.expiry_date) = #{expiryDate}
</if>
<if test="productionDate != null and productionDate != ''">
AND DATE(b.production_date) = #{productionDate}
</if>
<if test="updateByName != null and updateByName != ''">
and a.update_by_name like concat('%', #{updateByName}, '%')
</if>