|
|
|
@ -207,8 +207,8 @@ |
|
|
|
<if test="poReceiptQuery.status != null and poReceiptQuery.status != '' "> |
|
|
|
and (case when prd.arrive_qty = prd.invoice_qty then '已对账' else '未对账' end) = #{poReceiptQuery.status} |
|
|
|
</if> |
|
|
|
<if test="poReceiptQuery.status != null and poReceiptQuery.status != '' "> |
|
|
|
and pr.supplier_id = #{poReceiptQuery.status} |
|
|
|
<if test="poReceiptQuery.supplierId != null and poReceiptQuery.supplierId != '' "> |
|
|
|
and pr.supplier_id = #{poReceiptQuery.supplierId} |
|
|
|
</if> |
|
|
|
<if test=" poReceiptQuery.startDate != null"> |
|
|
|
AND pr.receive_date <![CDATA[ >= ]]> #{poReceiptQuery.startDate} |
|
|
|
|