This commit is contained in:
wangliwen 2022-08-19 14:22:10 +08:00
parent f4418bae13
commit 999c265c7e
2 changed files with 3 additions and 9 deletions

View File

@ -119,9 +119,7 @@ public class AbilityCenterControllerV2 {
} }
break; break;
default: { default: {
executor.execute(() -> { executor.execute(() -> deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user));
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
});
} }
} }
return new Result().ok(LocalDateTime.now().toString()); return new Result().ok(LocalDateTime.now().toString());
@ -150,9 +148,7 @@ public class AbilityCenterControllerV2 {
} }
break; break;
default: { default: {
executor.execute(() -> { executor.execute(() -> deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user));
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
});
} }
} }
return new Result().ok(LocalDateTime.now().toString()); return new Result().ok(LocalDateTime.now().toString());

View File

@ -151,9 +151,7 @@ public class AbilityCenterControllerV3 {
} }
break; break;
default: { default: {
executor.execute(() -> { executor.execute(() -> deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user));
deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user);
});
} }
} }
return new Result().ok(LocalDateTime.now().toString()); return new Result().ok(LocalDateTime.now().toString());