Explorar el Código

Merge branch 'feature/1019-tenant' into develop-new

yuanliang hace 1 año
padre
commit
7658836034

+ 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;