This commit is contained in:
wangliwen 2023-01-10 18:18:57 +08:00
parent bb44d49adb
commit 9503da7c52
1 changed files with 6 additions and 0 deletions

View File

@ -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())) {