库存调整记录查询条件添加;
This commit is contained in:
+12
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user