|
|
@ -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
|
|
|
|