From d49759efdf5c1e6dbffa4f7b5788a9e33b25e6e1 Mon Sep 17 00:00:00 2001 From: LGH <1746689524@qq.com> Date: Thu, 1 Sep 2022 15:22:17 +0800 Subject: [PATCH] =?UTF-8?q?update:=20currTask=E5=88=97=E8=A1=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9-bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mt/wms/empty/service/impl/CurrTaskServiceImpl.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java index 6462888..93a5abf 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java @@ -178,6 +178,15 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService // currTaskInfoVo.setAllStep(allStep); currTaskInfoVo.setNowStep(nowStep); + currTaskInfoVo.setAutoExeTaskId(currTask.getAutoExeTaskId()); + }else { + currTaskInfoVo.setAllStep(currTask.getTargetPosition()); + if (currTask.getStatus()==1){ + currTaskInfoVo.setNowStep(currTask.getTargetPosition()); + }else if (currTask.getIsCache()==1){ + currTaskInfoVo.setNowStep(currTask.getLocationName()); + } + currTaskInfoVo.setAutoExeTaskId(currTask.getId()); } //currTaskDet List currTaskDetList = currTaskDetServiceBiz.list(new QueryWrapper().eq(CurrTaskDet.CURR_TASK_ID, currTask.getId()));