Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-20 15:46:54 +08:00
commit 16b12761b7
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,7 @@ public class AbilityCenterControllerV2 {
final Optional<SysDeptDTO> deptDTO = Optional.ofNullable(sysDeptService.getByName(bigDateDeptName));
final UserDetail user = SecurityUser.getUser();
CompletableFuture.runAsync(() -> {
logger.info("处理能力申请!");
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
}, executor);
return new Result().ok(LocalDateTime.now().toString());
@ -132,6 +133,7 @@ public class AbilityCenterControllerV2 {
final Optional<SysDeptDTO> deptDTO = Optional.ofNullable(sysDeptService.getByName(bigDateDeptName));
final UserDetail user = SecurityUser.getUser();
CompletableFuture.runAsync(() -> {
logger.info("处理能力申请!");
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
}, executor);
return new Result().ok(LocalDateTime.now().toString());