批次号未空

master
anthonyywj2 3 years ago
parent bb4b592466
commit ffa24f5893

@ -159,7 +159,7 @@
AND productIdFk = #{productIdFk} AND productIdFk = #{productIdFk}
</if> </if>
<if test="batchNo != '' and batchNo != null and batchNo!='empty'"> <if test="batchNo != '' and batchNo != null and batchNo!='empty'">
AND inv_product.batchNo like concat('%',#{batchNo},'%') AND inv_pre_product_detail.batchNo like concat('%',#{batchNo},'%')
</if> </if>
<if test="batchNo == 'empty'"> <if test="batchNo == 'empty'">
AND batchNo is NULL AND batchNo is NULL

@ -156,7 +156,7 @@
AND productIdFk = #{productIdFk} AND productIdFk = #{productIdFk}
</if> </if>
<if test="batchNo != '' and batchNo != null and batchNo!='empty'"> <if test="batchNo != '' and batchNo != null and batchNo!='empty'">
AND inv_product.batchNo like concat('%',#{batchNo},'%') AND inv_product_detail.batchNo like concat('%',#{batchNo},'%')
</if> </if>
<if test="batchNo == 'empty'"> <if test="batchNo == 'empty'">
AND batchNo is NULL AND batchNo is NULL

Loading…
Cancel
Save