From 56b1ee2bcd11269a0454160d4688a0cbda735aad Mon Sep 17 00:00:00 2001 From: shenzhouyu Date: Sat, 15 Nov 2025 09:42:59 +0800 Subject: [PATCH] =?UTF-8?q?pda=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/production/ProductionIssueMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/mapper/production/ProductionIssueMapper.xml b/src/main/resources/mapper/production/ProductionIssueMapper.xml index 8cbf2c5..e5b1a2a 100644 --- a/src/main/resources/mapper/production/ProductionIssueMapper.xml +++ b/src/main/resources/mapper/production/ProductionIssueMapper.xml @@ -298,7 +298,7 @@ b.item_no,b.fgpart_no,b.soorder_no,b.ops_item_no,b.seq_no,b.issure_qty,b.location_no,FORMAT(b.need_date ,'yyyy-MM-dd') as needDate,b.release_no,b.sequence_no from SOIssueNotifyOrderList b left join SOIssueNotifyHeader a on a.notify_no=b.notify_no and a.site=b.site - where a.site=#{site} and a.status='ISSUE' and b.soorder_no=#{notifyNo} and (b.order_type is null or b.order_type='shoporder') + where a.site=#{site} and a.status='ISSUE' and b.soorder_no=#{notifyNo} and (a.order_type is null or a.order_type='shoporder') order by a.entered_date desc