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 46f5004..ffcc7b4 100644 --- a/src/main/java/com/heai/modules/production/entity/OrderViewData.java +++ b/src/main/java/com/heai/modules/production/entity/OrderViewData.java @@ -21,6 +21,9 @@ public class OrderViewData { private String jianyanReport; private String baozhuangReport; private String finishedQty; + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date needDate; private String lotSize; private String closedFlag; private String jiagongReport; diff --git a/src/main/resources/mapper/production/SoScheduledListMapper.xml b/src/main/resources/mapper/production/SoScheduledListMapper.xml index eb47e9d..d62e494 100644 --- a/src/main/resources/mapper/production/SoScheduledListMapper.xml +++ b/src/main/resources/mapper/production/SoScheduledListMapper.xml @@ -187,7 +187,7 @@ 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, Round(FinishedQty,3) FinishedQty , - LotSize + LotSize,NeedDate FROM ShopOrder a AND a.PartNo like 'FP%'