查询资源失败时的补充
This commit is contained in:
parent
27639c1832
commit
a68dd97428
|
@ -124,7 +124,7 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A
|
|||
Gson gson = builder.create();
|
||||
JsonElement jsonElement = gson.toJsonTree(kv);
|
||||
TResourceMountApplyDTO resourceMountApplyDTO = gson.fromJson(jsonElement, TResourceMountApplyDTO.class);
|
||||
ResourceDTO re = resourceMountApplyDTO.getResourceDTO();
|
||||
ResourceDTO re = resourceService.get(resourceMountApplyDTO.getResourceId());
|
||||
if (re != null) {
|
||||
re.setDelFlag(ResourceEntityDelFlag.NORMAL.getFlag());
|
||||
resourceService.update(re);
|
||||
|
|
Loading…
Reference in New Issue