From 425916a87afb6a68f75e30f5be3e6f3d2130ca96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com> Date: Wed, 17 Dec 2025 10:33:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=E5=92=8C=20=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E9=A1=B5=E9=9D=A2=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/production/SoScheduledListMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mapper/production/SoScheduledListMapper.xml b/src/main/resources/mapper/production/SoScheduledListMapper.xml index ee3e7d4..0c59991 100644 --- a/src/main/resources/mapper/production/SoScheduledListMapper.xml +++ b/src/main/resources/mapper/production/SoScheduledListMapper.xml @@ -59,7 +59,8 @@ select a.site,b.AbnormalDesc as TransNo,a.FeedbackDate AS TransDate,a.OrderNo,C.partNo,c.QtyRequired as TransQty,a.SeqNo,dbo.Get_Part_SpecDesc(c.site,c.PartNo) partDescSpec,'异常反馈' as toTypeFlag,isnull(c.S_ShiftNo,'白班') shiftNo from AbnormalFeedBack a left join AbnormalItem b on a.AbnormalCode=b.AbnormalCode LEFT JOIN SOScheduledRouting C ON A.SeqNo=C.SeqNo - where a.Status !='已完结' and b.NeedFeedBackFlag='Y' + left join user_work_center uwc on C.site = uwc.site and C.S_WorkCenterNo = uwc.WorkCenterNo and uwc.userId = 'E0006' + where a.Status !='已完结' and b.NeedFeedBackFlag='Y' and uwc.WorkCenterNo is not null order by a.TransDate