From 28ac45ce7c8484d41b0d707f11738d87145344fb Mon Sep 17 00:00:00 2001 From: lishuai Date: Mon, 12 Aug 2024 10:41:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E6=A8=A1=E5=9E=8B=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=202024=E5=B9=B48=E6=9C=8812=E6=97=A510:40:56?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../thing/group/service/impl/IotGroupInfoServiceImpl.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/thing/src/main/java/com/thing/thing/group/service/impl/IotGroupInfoServiceImpl.java b/modules/thing/src/main/java/com/thing/thing/group/service/impl/IotGroupInfoServiceImpl.java index a20df93..ee44a7f 100644 --- a/modules/thing/src/main/java/com/thing/thing/group/service/impl/IotGroupInfoServiceImpl.java +++ b/modules/thing/src/main/java/com/thing/thing/group/service/impl/IotGroupInfoServiceImpl.java @@ -440,13 +440,6 @@ public class IotGroupInfoServiceImpl extends BaseServiceImpl thingDictEntities = dictService.findAllByGroupId(id); - List groupRelationEntities = groupRelationService.findAllByGroupId(id); - if (/*(CollectionUtil.isNotEmpty(thingDictEntities) ||*/ CollectionUtil.isNotEmpty(groupRelationEntities)) - /*&& !StringUtils.equals(groupInfoEntity.getType(), dto.getType()))*/ { - throw new SysException("当前组关联了字典或者物实体,不能修改组类型"); - } if (!UserContext.isAdmin() && ObjectUtil.equals(groupInfoEntity.getIsDefault(), IsDefaultEnum.Y.getValue())) { throw new SysException("暂无修改系统默认组的权限"); }