From 65dc6fae911475b3b28e41a7204993a2bba2b16e Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Wed, 10 Aug 2022 14:02:19 +0800 Subject: [PATCH] ... --- .../resource/service/impl/ResourceServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java index 5694e739..cdd8cce1 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java @@ -250,7 +250,7 @@ public class ResourceServiceImpl extends CrudServiceImpl resourceRels = new ArrayList<>(); + for (String keyid : ids) { TbDataResourceRelEntity resourceRel = new TbDataResourceRelEntity(); resourceRel.setKeyId(Long.valueOf(keyid)); @@ -264,7 +264,7 @@ public class ResourceServiceImpl extends CrudServiceImpl resourceRels = new ArrayList<>(); + for (String keyid : ids) { TbDataResourceRelEntity resourceRel = new TbDataResourceRelEntity(); resourceRel.setKeyId(resourceID); @@ -311,7 +311,7 @@ public class ResourceServiceImpl extends CrudServiceImpl resourceRels = new ArrayList<>(); + for (String keyid : ids) { TbDataResourceRelEntity resourceRel = new TbDataResourceRelEntity(); resourceRel.setKeyId(Long.valueOf(keyid)); @@ -408,7 +408,7 @@ public class ResourceServiceImpl extends CrudServiceImpl