Browse Source

1.机构小组删除调整

yuanliang 1 năm trước cách đây
mục cha
commit
f76a022cc9

+ 1 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/TenantGroupServiceImpl.java

@@ -292,6 +292,7 @@ public class TenantGroupServiceImpl extends ServiceImpl<TenantGroupMapper, Tenan
         }
         studentDao.update(null, Wrappers.<Student>lambdaUpdate()
                 .eq(Student::getTenantId, group.getTenantId())
+                .eq(Student::getTenantGroupId, id)
                 .set(Student::getTenantGroupId, -1L));
         return removeById(id);
     }