fix
This commit is contained in:
parent
f01a49f3c5
commit
3e51dbc961
@ -85,6 +85,7 @@ public class AssessManagerServiceImpl implements AssessManagerService {
|
|||||||
);
|
);
|
||||||
List<FlowStart> list = pageUtils.getList();
|
List<FlowStart> list = pageUtils.getList();
|
||||||
if(CollectionUtils.isEmpty(list)){
|
if(CollectionUtils.isEmpty(list)){
|
||||||
|
log.info("未找到考核发起数据");
|
||||||
return pageUtils;
|
return pageUtils;
|
||||||
}
|
}
|
||||||
List<String> mandepartmentIds = assessService.roleDepartments(req.getStaffId());
|
List<String> mandepartmentIds = assessService.roleDepartments(req.getStaffId());
|
||||||
@ -240,8 +241,10 @@ public class AssessManagerServiceImpl implements AssessManagerService {
|
|||||||
|
|
||||||
List<Long> recordIds = resultRecordMapper.selectToScoreList(req.getStartId(), evaluation);
|
List<Long> recordIds = resultRecordMapper.selectToScoreList(req.getStartId(), evaluation);
|
||||||
if(CollectionUtils.isEmpty(recordIds)){
|
if(CollectionUtils.isEmpty(recordIds)){
|
||||||
|
log.info("该考评组无数据 evaluationId:" + evaluation);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
log.info("本次评分更新操作 num: " + recordIds.size());
|
||||||
recordIds.forEach(aLong -> {
|
recordIds.forEach(aLong -> {
|
||||||
//更新流程绩效
|
//更新流程绩效
|
||||||
ApprovalDto approvalDto = new ApprovalDto();
|
ApprovalDto approvalDto = new ApprovalDto();
|
||||||
@ -262,7 +265,7 @@ public class AssessManagerServiceImpl implements AssessManagerService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
/* public static void main(String[] args) {
|
||||||
ExecutorService executorService = Executors.newFixedThreadPool(10);
|
ExecutorService executorService = Executors.newFixedThreadPool(10);
|
||||||
CompletableFuture<List<Long>> future = CompletableFuture.supplyAsync(()-> Arrays.asList(1L,2L),executorService);
|
CompletableFuture<List<Long>> future = CompletableFuture.supplyAsync(()-> Arrays.asList(1L,2L),executorService);
|
||||||
try {
|
try {
|
||||||
@ -273,6 +276,6 @@ public class AssessManagerServiceImpl implements AssessManagerService {
|
|||||||
} catch (ExecutionException e) {
|
} catch (ExecutionException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -104,6 +104,7 @@ public class AssessServiceImpl implements AssessService {
|
|||||||
});
|
});
|
||||||
|
|
||||||
List<String> collect = allDepart.stream().distinct().collect(Collectors.toList());
|
List<String> collect = allDepart.stream().distinct().collect(Collectors.toList());
|
||||||
|
log.info("获取到权限对应的部门 " + JSON.toJSONString(collect));
|
||||||
return collect;
|
return collect;
|
||||||
}
|
}
|
||||||
log.info("未获取到用户权限对应的部门 roleID: " + staffRole.getId());
|
log.info("未获取到用户权限对应的部门 roleID: " + staffRole.getId());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user