...
This commit is contained in:
parent
46a30be29a
commit
c3658aceb0
|
@ -109,6 +109,7 @@ public class AbilityCenterControllerV2 {
|
||||||
final Optional<SysDeptDTO> deptDTO = Optional.ofNullable(sysDeptService.getByName(bigDateDeptName));
|
final Optional<SysDeptDTO> deptDTO = Optional.ofNullable(sysDeptService.getByName(bigDateDeptName));
|
||||||
final UserDetail user = SecurityUser.getUser();
|
final UserDetail user = SecurityUser.getUser();
|
||||||
CompletableFuture.runAsync(() -> {
|
CompletableFuture.runAsync(() -> {
|
||||||
|
logger.info("处理能力申请!");
|
||||||
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
|
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
|
||||||
}, executor);
|
}, executor);
|
||||||
return new Result().ok(LocalDateTime.now().toString());
|
return new Result().ok(LocalDateTime.now().toString());
|
||||||
|
@ -132,6 +133,7 @@ public class AbilityCenterControllerV2 {
|
||||||
final Optional<SysDeptDTO> deptDTO = Optional.ofNullable(sysDeptService.getByName(bigDateDeptName));
|
final Optional<SysDeptDTO> deptDTO = Optional.ofNullable(sysDeptService.getByName(bigDateDeptName));
|
||||||
final UserDetail user = SecurityUser.getUser();
|
final UserDetail user = SecurityUser.getUser();
|
||||||
CompletableFuture.runAsync(() -> {
|
CompletableFuture.runAsync(() -> {
|
||||||
|
logger.info("处理能力申请!");
|
||||||
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
|
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
|
||||||
}, executor);
|
}, executor);
|
||||||
return new Result().ok(LocalDateTime.now().toString());
|
return new Result().ok(LocalDateTime.now().toString());
|
||||||
|
|
Loading…
Reference in New Issue