diff --git a/renren-admin/src/main/java/io/renren/common/controller/AbilityCenterControllerV2.java b/renren-admin/src/main/java/io/renren/common/controller/AbilityCenterControllerV2.java index 7f4745a4..a9068a6e 100644 --- a/renren-admin/src/main/java/io/renren/common/controller/AbilityCenterControllerV2.java +++ b/renren-admin/src/main/java/io/renren/common/controller/AbilityCenterControllerV2.java @@ -119,9 +119,7 @@ public class AbilityCenterControllerV2 { } break; default: { - executor.execute(() -> { - deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user); - }); + executor.execute(() -> deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user)); } } return new Result().ok(LocalDateTime.now().toString()); @@ -150,9 +148,7 @@ public class AbilityCenterControllerV2 { } break; default: { - executor.execute(() -> { - deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user); - }); + executor.execute(() -> deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user)); } } return new Result().ok(LocalDateTime.now().toString()); diff --git a/renren-admin/src/main/java/io/renren/common/controller/AbilityCenterControllerV3.java b/renren-admin/src/main/java/io/renren/common/controller/AbilityCenterControllerV3.java index 361368cd..5182bec5 100644 --- a/renren-admin/src/main/java/io/renren/common/controller/AbilityCenterControllerV3.java +++ b/renren-admin/src/main/java/io/renren/common/controller/AbilityCenterControllerV3.java @@ -151,9 +151,7 @@ public class AbilityCenterControllerV3 { } break; default: { - executor.execute(() -> { - deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user); - }); + executor.execute(() -> deal(abilityBatchApplicationDTO, deptDTO, applyFlag, user)); } } return new Result().ok(LocalDateTime.now().toString());