diff --git a/src/main/resources/mapper/toolman/PoReceiptMapper.xml b/src/main/resources/mapper/toolman/PoReceiptMapper.xml index 5e1b06c..820ba4c 100644 --- a/src/main/resources/mapper/toolman/PoReceiptMapper.xml +++ b/src/main/resources/mapper/toolman/PoReceiptMapper.xml @@ -207,8 +207,8 @@ and (case when prd.arrive_qty = prd.invoice_qty then '已对账' else '未对账' end) = #{poReceiptQuery.status} - - and pr.supplier_id = #{poReceiptQuery.status} + + and pr.supplier_id = #{poReceiptQuery.supplierId} AND pr.receive_date = ]]> #{poReceiptQuery.startDate}