|
|
|
@ -61,9 +61,11 @@
|
|
|
|
|
from qc_check_task qct
|
|
|
|
|
<where>
|
|
|
|
|
<if test="checkNo != null and checkNo != ''">and qct.check_no = #{checkNo}</if>
|
|
|
|
|
<if test="incomeBatchNo != null and incomeBatchNo != ''">and qct.income_batch_no = #{incomeBatchNo}</if>
|
|
|
|
|
<if test="incomeBatchNo != null and incomeBatchNo != ''">and qct.income_batch_no like concat('%',
|
|
|
|
|
#{incomeBatchNo}, '%')</if>
|
|
|
|
|
<if test="orderNo != null and orderNo != ''">and qct.order_no = #{orderNo}</if>
|
|
|
|
|
<if test="materialCode != null and materialCode != ''">and qct.material_code = #{materialCode}</if>
|
|
|
|
|
<if test="materialCode != null and materialCode != ''">and qct.material_code like concat('%',
|
|
|
|
|
#{materialCode}, '%')</if>
|
|
|
|
|
<if test="materialName != null and materialName != ''">and qct.material_name like concat('%',
|
|
|
|
|
#{materialName}, '%')
|
|
|
|
|
</if>
|
|
|
|
|