From 90f04a9671d3052040b7c6bee828f8c192197ce2 Mon Sep 17 00:00:00 2001 From: shenzhouyu Date: Tue, 9 Dec 2025 22:04:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99=E6=9F=A5=E8=AF=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/production/ProductionReturnMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/mapper/production/ProductionReturnMapper.xml b/src/main/resources/mapper/production/ProductionReturnMapper.xml index 61ab328..a8b1d06 100644 --- a/src/main/resources/mapper/production/ProductionReturnMapper.xml +++ b/src/main/resources/mapper/production/ProductionReturnMapper.xml @@ -102,7 +102,7 @@ trans_header a join trans_detail_sub b on a.trans_no = b.trans_no and a.site = b.site left join handling_unit c on b.sub_no = c.unit_id and b.site = c.site - where b.part_no = #{request.partNo} and a.order_ref1 = #{request.orderNo} and a.site = #{request.site} and c.unit_id is not null + where b.part_no = #{request.partNo} and b.batch_no = #{request.batchNo} and a.order_ref1 = #{request.orderNo} and a.site = #{request.site} and c.unit_id is not null