currTask列表修改-bug修改
This commit is contained in:
李广豪 2022-09-01 15:22:17 +08:00
parent 412dbd04d4
commit d49759efdf

View File

@ -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<CurrTaskDet> currTaskDetList = currTaskDetServiceBiz.list(new QueryWrapper<CurrTaskDet>().eq(CurrTaskDet.CURR_TASK_ID, currTask.getId()));