From 84d9562041a2a6135037c07b01162cac32783053 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Wed, 20 Jul 2022 16:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../renren/common/controller/AbilityCenterControllerV2.java | 5 +++-- 1 file changed, 3 insertions(+), 2 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 fff969f1..1e8fd77b 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 @@ -103,7 +103,7 @@ public class AbilityCenterControllerV2 { index.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, e -> e.getValue().toString())) ).collect(Collectors.toList()); abilityBatchApplicationDTO.setSystem(system); // 申请所有的正常的应用资源 - + logger.info("申请入参{}", JSON.toJSONString(abilityBatchApplicationDTO)); final String applyFlag = UUID.randomUUID().toString(); abilityBatchApplicationDTO.setApplyFlag(applyFlag); // 同一次的申请标识 final Optional deptDTO = Optional.ofNullable(sysDeptService.getByName(bigDateDeptName)); @@ -129,7 +129,7 @@ public class AbilityCenterControllerV2 { } final String applyFlag = UUID.randomUUID().toString(); abilityBatchApplicationDTO.setApplyFlag(applyFlag); // 同一次的申请标识 - + logger.info("申请入参{}", JSON.toJSONString(abilityBatchApplicationDTO)); final Optional deptDTO = Optional.ofNullable(sysDeptService.getByName(bigDateDeptName)); final UserDetail user = SecurityUser.getUser(); CompletableFuture.runAsync(() -> { @@ -178,6 +178,7 @@ public class AbilityCenterControllerV2 { ValidatorUtils.validateEntity(tAbilityApplicationDTO, AddGroup.class, DefaultGroup.class); tAbilityApplicationService.save(tAbilityApplicationDTO); // 写能力申请数据 if (tAbilityApplicationDTO.getId() == null) { + logger.error("插入申请单失败!"); return null; } tAbilityApplicationDTO.setCompleteEntry(Boolean.TRUE);