提交 a8ee7c2f authored 作者: 邓砥奕's avatar 邓砥奕

更新

上级 e70f25df
...@@ -909,7 +909,7 @@ public class TaskServiceImpl implements TaskService { ...@@ -909,7 +909,7 @@ public class TaskServiceImpl implements TaskService {
//查询跟踪 //查询跟踪
if (taskSelectVo.getSelectNum() == 3) { if (taskSelectVo.getSelectNum() == 3) {
//所有涉及人员所在单位包含当前用户所在单位且指针对应UserId不是当前用户 //所有涉及人员所在单位包含当前用户所在单位且指针对应UserId不是当前用户
List<Integer> status = Arrays.asList(201,333,810,322,722,788,1250,2223,8110,888,140,130,141,111); List<Integer> status = Arrays.asList(201,333,810,322,722,788,1250,2223,8110,888,140,130,141,111,1002);
List<TaskBto> taskBtoList = taskBtos.stream() List<TaskBto> taskBtoList = taskBtos.stream()
.filter(taskBto -> { .filter(taskBto -> {
// boolean unitExists = getUnitsByUsers(taskBto.getInvolveUserIdList()).contains(unitId); // boolean unitExists = getUnitsByUsers(taskBto.getInvolveUserIdList()).contains(unitId);
......
...@@ -170,8 +170,8 @@ public class TrainJobController { ...@@ -170,8 +170,8 @@ public class TrainJobController {
list.add(0); list.add(0);
TaskBto taskBto= new TaskBto(StatusEnum.TRAIN1002.id, trainTheme.getName(), task.getId(), task.getId().toString(), trainTheme.getTrainId(), BusinessEnum.TRAIN.id, unitId, 0, null, list); TaskBto taskBto= new TaskBto(StatusEnum.TRAIN1002.id, trainTheme.getName(), task.getId(), task.getId().toString(), trainTheme.getTrainId(), BusinessEnum.TRAIN.id, unitId, 0, null, list);
taskBto=taskService.start(taskBto); taskBto=taskService.start(taskBto);
taskBto.setCreateUserId(null); // taskBto.setCreateUserId(null);
taskService.update(taskBto); // taskService.update(taskBto);
} }
); );
if (securityUser.getCurrentUserInfo().getUnits().getLevel()==1){ if (securityUser.getCurrentUserInfo().getUnits().getLevel()==1){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论