|
@@ -1070,7 +1070,7 @@ public class TeacherServiceImpl extends ServiceImpl<TeacherDao, Teacher> impleme
|
|
.eq(TenantGroup::getAdminId, teacher.getUserId());
|
|
.eq(TenantGroup::getAdminId, teacher.getUserId());
|
|
Integer count = tenantGroupMapper.selectCount(queryWrapper);
|
|
Integer count = tenantGroupMapper.selectCount(queryWrapper);
|
|
if (count > 0) {
|
|
if (count > 0) {
|
|
- throw new BizException("该老师存在机构小组负责人身份,请先移交小组或者解散小组");
|
|
|
|
|
|
+ throw new BizException("先更换老师或者退出小组");
|
|
}
|
|
}
|
|
|
|
|
|
// 机构老师处理流程
|
|
// 机构老师处理流程
|