From 9503da7c52b4b3da70210d636b6f75ae9923962c Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 10 Jan 2023 18:18:57 +0800 Subject: [PATCH] ... --- .../controller/TAbilityApplicationController.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java index 44d874a3..8c6e050f 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java @@ -805,6 +805,12 @@ public class TAbilityApplicationController { temp.put("system", index.getSystem()); temp.put("resourceId", index.getResourceId()); ResourceDTO resourceDTO = resourceService.get(Long.parseLong(index.getResourceId())); + try { + temp.put("resourceDept", sysDeptService.get(resourceDTO.getDeptId()).getName()); + } catch (Exception exception) { + temp.put("resourceDept", "-"); + } + temp.put("description", resourceDTO.getDescription()); if ("应用资源".equals(resourceDTO.getType())) { temp.put("resourceTYpe", "应用资源"); } else if ("组件服务".equals(resourceDTO.getType())) {