From f759ad95d20e3b7985b41b1ef3c409573043fefb Mon Sep 17 00:00:00 2001 From: ruanqi Date: Wed, 22 Jan 2025 11:15:40 +0800 Subject: [PATCH] =?UTF-8?q?0412=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/production/DailyPlanMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/production/DailyPlanMapper.xml b/src/main/resources/mapper/production/DailyPlanMapper.xml index 4402066..09543b6 100644 --- a/src/main/resources/mapper/production/DailyPlanMapper.xml +++ b/src/main/resources/mapper/production/DailyPlanMapper.xml @@ -307,11 +307,11 @@ left join ShopOrder as t on h.Site=t.Site and h.OrderRef1=t.OrderNo ---硫化的订单t left join ShopOrder as SO on t.site=SO.Site and t.orderNo=SO.Prelev_order_no and t.E_OriginalOrderType=SO.E_OriginalOrderType and (SO.PartNo like 'VP%') -----so是vp订单 - left join SOBOM as d on t.Site=D.Site and T.OrderNo=D.OrderNo and (D.ComponentPartNo like 'VP%' ) + left join SOBOM as d on t.Site=D.Site and T.OrderNo=D.OrderNo and D.ComponentPartNo =SO.PartNo LEFT JOIN SORouting S on S.site=SO.site and S.OrderNo=SO.OrderNo left join user_work_center uwc on s.site=uwc.site and s.workCenterNo =uwc.WorkCenterNo and uwc.userId= 'admin' left join part P on so.site=p.site and so.partNo=p.partNo - + left join SOTask_VPSchedule SV on h.site=SV.site and h.OrderNo=SV.TaskOrderNo and s.itemNo=sv.itemNo and so.orderNo=SV.orderNo and uwc.WorkCenterNo is not null