From a7021a27f4992d86e47b8627653fb4102e0176cd Mon Sep 17 00:00:00 2001 From: Kelvin Date: Fri, 29 Nov 2024 11:41:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=85=A5=E5=BA=93=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=B0=8F=E5=9E=8B=E5=88=80=E5=85=B7=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ktg/mes/wm/controller/WmsInPlanController.java | 5 +++++ .../com/ktg/mes/wm/service/impl/WmsInPlanServiceImpl.java | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInPlanController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInPlanController.java index 4c5daa3..46f8161 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInPlanController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInPlanController.java @@ -3,6 +3,7 @@ package com.ktg.mes.wm.controller; import java.util.List; import javax.servlet.http.HttpServletResponse; +import com.ktg.mes.md.service.IAP0AEService; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; @@ -34,6 +35,9 @@ public class WmsInPlanController extends BaseController { @Autowired private IWmsInPlanService wmsInPlanService; + @Autowired + private IAP0AEService iAP0AEService; + /** * 查询入库计划列表 */ @@ -42,6 +46,7 @@ public class WmsInPlanController extends BaseController { public TableDataInfo list(WmsInPlan wmsInPlan) { startPage(); List list = wmsInPlanService.selectWmsInPlanList(wmsInPlan); + iAP0AEService.selectInNewData(); return getDataTable(list); } diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanServiceImpl.java index fa86703..4a3c1a9 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanServiceImpl.java @@ -226,7 +226,6 @@ public class WmsInPlanServiceImpl implements IWmsInPlanService { MdItem mdItem = mdItemService.selectMdItemById(Long.parseLong(wmsInTask.getMaterialId())); wmsInTask.setMaterialCode(mdItem.getItemCode()); - wmsInTask.setPlanTypeId(wmsInPlan.getPlanTypeId().toString()); wmsInTask.setPlanTypeCode(wmsInPlan.getPlanTypeCode()); wmsInTask.setPlanInStatus("0"); wmsInTask.setDetailInId(detail.getDetailsId());