From baad1301911187367cb41b985bb68e6c6740ea6e Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Fri, 27 Sep 2024 09:45:13 +0800 Subject: [PATCH] =?UTF-8?q?opt:=E6=B7=BB=E5=8A=A0=E7=AD=89=E5=BE=85?= =?UTF-8?q?=E7=82=B9=E4=BB=BB=E5=8A=A1=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java | 1 + .../java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java index 9e80de5..88b5df0 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/service/impl/AcsToWmsServiceImpl.java @@ -232,6 +232,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { @Override public BaseResponse feedbackState(JSONObject param) { + log.info("ACS任务阶段反馈最新点位,信息:{}!", param.toString()); String requestNo = param.getString("requestNo"); String taskId = param.getString("taskId"); BaseResponse result = BaseResponse.build(requestNo); diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java index 58e2746..13ca8ea 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/POINTTask.java @@ -310,6 +310,8 @@ public class POINTTask extends AbstractTask { @Override protected void feedbackTaskState(JSONObject param,SchBaseTask schBaseTask, BaseResponse result) { + log.info("feedbackTaskState方法,param:"+param.toString()); + log.info("feedbackTaskState方法,变更前schBaseTask:"+schBaseTask.toString()); if(schBaseTask.getPoint_code2().startsWith("DKT")){ //叠盘任务需要二次分配 SchBasePoint nextSchBasePoint= pointService.getOne(new LambdaQueryWrapper() @@ -319,6 +321,7 @@ public class POINTTask extends AbstractTask { int qty=nextSchBasePoint.getVehicle_qty()+1; if(qty <= max_qty){ schBaseTask.setPoint_code2(schBaseTask.getPoint_code2().substring(0,schBaseTask.getPoint_code2().length()-1)+qty); + log.info("feedbackTaskState方法,变更后schBaseTask:"+schBaseTask.toString()); }else{ schBaseTask.setRemark("叠盘机空盘数量已达最大值:["+max_qty+"],暂时无法放置托盘!"); taskService.update(schBaseTask);