From 15ac4d6c5ba271ed3063cf2b8fa17174bfba11bd Mon Sep 17 00:00:00 2001 From: ruanqi Date: Fri, 22 Sep 2023 10:51:59 +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 --- .../production/service/impl/DailyPlanServiceImpl.java | 1 + .../resources/mapper/production/SoScheduledListMapper.xml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java b/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java index c60d4ec..830845d 100644 --- a/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java +++ b/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java @@ -263,6 +263,7 @@ public class DailyPlanServiceImpl implements DailyPlanService { double f1 = l1.get(0).getSchedulingSize() - soTaskOrderHeaderData.getOrderQty(); DailyPlanInData d2 = new DailyPlanInData(); d2.setOrderNo(l1.get(0).getOrderNo()); + d2.setSite(l1.get(0).getSite()); d2.setSchedulingSize(f1); soScheduledListMapper.updateWorkPlanData(d2); DailyPlanInData d3=new DailyPlanInData(); diff --git a/src/main/resources/mapper/production/SoScheduledListMapper.xml b/src/main/resources/mapper/production/SoScheduledListMapper.xml index 08e82c9..bc9d6fa 100644 --- a/src/main/resources/mapper/production/SoScheduledListMapper.xml +++ b/src/main/resources/mapper/production/SoScheduledListMapper.xml @@ -29,6 +29,9 @@ AND order_no = #{orderNo} + + and site=#{site} + @@ -42,6 +45,9 @@ AND order_no = #{orderNo} + + and site=#{site} +