From 999c265c7e082f9524518a4cd3fa436ccba89fe6 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Fri, 19 Aug 2022 14:22:10 +0800 Subject: [PATCH] ... --- .../common/controller/AbilityCenterControllerV2.java | 8 ++------ .../common/controller/AbilityCenterControllerV3.java | 4 +--- 2 files changed, 3 insertions(+), 9 deletions(-) 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());