Browse Source

1.机构小组IM群需求调整

yuanliang 1 year ago
parent
commit
3806cc7591

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

@@ -431,7 +431,7 @@ public class TenantGroupServiceImpl extends ServiceImpl<TenantGroupMapper, Tenan
                         .update();
                 studentDao.update(null, Wrappers.<Student>lambdaUpdate()
                         .eq(Student::getTenantGroupId, detail.getTenantGroupId())
-                        .set(Student::getTenantGroupId, null));
+                        .set(Student::getTenantGroupId, -1L));
             }
         }
         return true;