|
|
@ -229,6 +229,9 @@ |
|
|
where pod.site = '${query.site}' |
|
|
where pod.site = '${query.site}' |
|
|
<if test="query.poHeaderId != null and query.poHeaderId != '' "> and pod.po_header_id like '%${query.poHeaderId}%'</if> |
|
|
<if test="query.poHeaderId != null and query.poHeaderId != '' "> and pod.po_header_id like '%${query.poHeaderId}%'</if> |
|
|
<if test="query.orderNo != null and query.orderNo != '' "> and pod.order_no like '%${query.orderNo}%'</if> |
|
|
<if test="query.orderNo != null and query.orderNo != '' "> and pod.order_no like '%${query.orderNo}%'</if> |
|
|
|
|
|
<if test="query.poNo != null and query.poNo != '' "> and poh.po_no like '%${query.poNo}%'</if> |
|
|
|
|
|
<if test="query.customer != null and query.customer != '' "> and poh.c_customer like '%${query.customer}%'</if> |
|
|
|
|
|
<if test="query.buyer != null and query.buyer != '' "> and poh.buyer like '%${query.buyer}%'</if> |
|
|
<if test="query.itemNo != null "> and pod.item_no = '${query.itemNo}'</if> |
|
|
<if test="query.itemNo != null "> and pod.item_no = '${query.itemNo}'</if> |
|
|
<if test="query.partNo != null and query.partNo != '' "> and pod.part_no like '%${query.partNo}%'</if> |
|
|
<if test="query.partNo != null and query.partNo != '' "> and pod.part_no like '%${query.partNo}%'</if> |
|
|
<if test="query.status != null and query.status != '' "> and pod.status like '%${query.status}%'</if> |
|
|
<if test="query.status != null and query.status != '' "> and pod.status like '%${query.status}%'</if> |
|
|
@ -306,6 +309,7 @@ |
|
|
<if test="query.needDate != null and query.needDate != '' "> and pod.need_date like '%${query.needDate}%'</if> |
|
|
<if test="query.needDate != null and query.needDate != '' "> and pod.need_date like '%${query.needDate}%'</if> |
|
|
<if test="query.inspectMethod != null and query.inspectMethod != '' "> and pod.inspect_method like '%${query.inspectMethod}%'</if> |
|
|
<if test="query.inspectMethod != null and query.inspectMethod != '' "> and pod.inspect_method like '%${query.inspectMethod}%'</if> |
|
|
<if test="query.invNotifyQty != null and query.invNotifyQty != '' "> and pod.inv_notify_qty like '%${query.invNotifyQty}%'</if> |
|
|
<if test="query.invNotifyQty != null and query.invNotifyQty != '' "> and pod.inv_notify_qty like '%${query.invNotifyQty}%'</if> |
|
|
|
|
|
<if test="query.sku != null and query.sku != '' "> and p.sku like '%${query.sku}%'</if> |
|
|
order by pod.id desc |
|
|
order by pod.id desc |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
@ -497,7 +501,6 @@ |
|
|
FROM PODetail |
|
|
FROM PODetail |
|
|
WHERE order_no = #{orderNo} |
|
|
WHERE order_no = #{orderNo} |
|
|
AND site = #{site} |
|
|
AND site = #{site} |
|
|
AND item = #{item} |
|
|
|
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
</mapper> |
|
|
</mapper> |