From 3eec85b22d248e3040cfecc0b21500d481b747ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com> Date: Thu, 7 Aug 2025 14:28:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A2=E5=8D=95=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6=E8=B7=9F=E8=B8=AA=E8=A1=A8=E4=B8=AD=EF=BC=8C=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=8D=E8=89=AF=E5=93=81=E7=B4=AF=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/heai/modules/production/entity/OrderViewData.java | 1 + src/main/resources/mapper/production/SoScheduledListMapper.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/heai/modules/production/entity/OrderViewData.java b/src/main/java/com/heai/modules/production/entity/OrderViewData.java index 7d5af52..993e502 100644 --- a/src/main/java/com/heai/modules/production/entity/OrderViewData.java +++ b/src/main/java/com/heai/modules/production/entity/OrderViewData.java @@ -39,4 +39,5 @@ public class OrderViewData { private String customerDesc; private String customerId; + private int defectQty; } diff --git a/src/main/resources/mapper/production/SoScheduledListMapper.xml b/src/main/resources/mapper/production/SoScheduledListMapper.xml index bcc0a59..d7897ce 100644 --- a/src/main/resources/mapper/production/SoScheduledListMapper.xml +++ b/src/main/resources/mapper/production/SoScheduledListMapper.xml @@ -189,6 +189,7 @@ Round(isnull(dbo.Get_orderView_routeReport(a.site, a.OrderNo, '检验'), 0), 3) as jianyanReport, Round(isnull(dbo.Get_orderView_routeReport(a.site, a.OrderNo, '加工'), 0), 3) as jiagongReport, Round(isnull(dbo.Get_orderView_routeReport(a.site, a.OrderNo, '包装'), 0), 3) as baozhuangReport, + dbo.Get_orderView_DefectQty(a.site, a.OrderNo) as defectQty, Round(FinishedQty, 3) as FinishedQty, dbo.Get_CustomerDesc(a.Site, a.CustomerID) as customerDesc, LotSize,