|
|
|
@ -116,12 +116,12 @@
|
|
|
|
|
#{workorderName}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="orderId != null and orderId != ''">and pow.order_id = #{orderId}</if>
|
|
|
|
|
<if test="orderCode != null and orderCode != ''">and pow.order_code like concat('%', #{orderCode}, '%')</if>
|
|
|
|
|
<if test="orderCode != null and orderCode != ''">and pow.workorder_code_sap like concat('%', #{orderCode}, '%')</if>
|
|
|
|
|
<if test="productCode != null and productCode != ''">
|
|
|
|
|
and ppow.product_code like concat('%', #{productCode},'%')
|
|
|
|
|
and pow.product_code like concat('%', #{productCode},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="productName != null and productName != ''">
|
|
|
|
|
and ppow.product_name like concat('%', #{productName},'%')
|
|
|
|
|
and pow.product_name like concat('%', #{productName},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="productDate != null ">and pow.product_date = #{productDate}</if>
|
|
|
|
|
<if test="shiftId != null and shiftId != ''">and pow.shift_id = #{shiftId}</if>
|
|
|
|
|