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 37498f0..4799308 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 @@ -199,6 +199,11 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService currTaskInfoVo.setNowStep(nowStep); currTaskInfoVo.setAutoExeTaskId(currTask.getAutoExeTaskId()); }else { + List currTaskVos=new ArrayList<>(); + CurrTaskVo currTaskVo=CurrTaskVo.builder().build(); + BeanUtils.copyProperties(currTask,currTaskVo); + currTaskVos.add(currTaskVo); + currTaskInfoVo.setCurrTaskVoList(currTaskVos); currTaskInfoVo.setAllStep(currTask.getTargetPosition()); if (currTask.getStatus()==1){ currTaskInfoVo.setNowStep(currTask.getTargetPosition());