This commit is contained in:
wangliwen 2023-01-10 15:29:21 +08:00
parent 54333ea1d3
commit b6f305e71a
1 changed files with 1 additions and 1 deletions

View File

@ -803,7 +803,7 @@ public class TAbilityApplicationController {
temp.put("createDate", index.getCreateDate()); temp.put("createDate", index.getCreateDate());
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.selectWithAttrs(Long.parseLong(index.getResourceId()));
if ("应用资源".equals(resourceDTO.getType())) { if ("应用资源".equals(resourceDTO.getType())) {
temp.put("resourceTYpe", "应用资源"); temp.put("resourceTYpe", "应用资源");
} else if ("组件服务".equals(resourceDTO.getType())) { } else if ("组件服务".equals(resourceDTO.getType())) {