|
|
@ -32,6 +32,9 @@
|
|
|
|
<if test="productCode != '' and productCode != null">
|
|
|
|
<if test="productCode != '' and productCode != null">
|
|
|
|
AND a.productCode LIKE concat('%', #{productCode}, '%')
|
|
|
|
AND a.productCode LIKE concat('%', #{productCode}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="cpmctymc != '' and cpmctymc != null">
|
|
|
|
|
|
|
|
AND bp.cpmctymc LIKE concat('%', #{cpmctymc}, '%')
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="batchNo != null and batchNo != ''">
|
|
|
|
<if test="batchNo != null and batchNo != ''">
|
|
|
|
AND a.batchNo = #{batchNo}
|
|
|
|
AND a.batchNo = #{batchNo}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|