...
This commit is contained in:
parent
bb44d49adb
commit
9503da7c52
|
@ -805,6 +805,12 @@ public class TAbilityApplicationController {
|
||||||
temp.put("system", index.getSystem());
|
temp.put("system", index.getSystem());
|
||||||
temp.put("resourceId", index.getResourceId());
|
temp.put("resourceId", index.getResourceId());
|
||||||
ResourceDTO resourceDTO = resourceService.get(Long.parseLong(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())) {
|
if ("应用资源".equals(resourceDTO.getType())) {
|
||||||
temp.put("resourceTYpe", "应用资源");
|
temp.put("resourceTYpe", "应用资源");
|
||||||
} else if ("组件服务".equals(resourceDTO.getType())) {
|
} else if ("组件服务".equals(resourceDTO.getType())) {
|
||||||
|
|
Loading…
Reference in New Issue