update:
任务列表信息缺失补全
This commit is contained in:
parent
74b42527c6
commit
5582a6929c
@ -199,6 +199,11 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
|
||||
currTaskInfoVo.setNowStep(nowStep);
|
||||
currTaskInfoVo.setAutoExeTaskId(currTask.getAutoExeTaskId());
|
||||
}else {
|
||||
List<CurrTaskVo> 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());
|
||||
|
Loading…
Reference in New Issue
Block a user