diff --git a/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java b/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java index 4191e50a..a01cedab 100644 --- a/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java +++ b/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java @@ -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);