|
@@ -266,7 +266,7 @@ public class SysUserServiceImpl implements SysUserService {
|
|
|
.count();
|
|
|
|
|
|
if (course > 0 || videoCourse > 0) {
|
|
|
- errMsg.add("存在进行中的课程");
|
|
|
+ errMsg.add("存在进行中的直播课、陪练课、琴房课,未下架的视频课");
|
|
|
}
|
|
|
|
|
|
Teacher teacher = teacherService.getById(userId);
|
|
@@ -282,7 +282,7 @@ public class SysUserServiceImpl implements SysUserService {
|
|
|
Collection<ImGroup> imGroups = imGroupService.listByIds(groupIdList);
|
|
|
long orgGroups = imGroups.stream().filter(next -> ImGroupType.ORG.equals(next.getType())).count();
|
|
|
if (orgGroups > 0) {
|
|
|
- errMsg.add("账户为机构群群主、需要庄毅群主或解散群聊");
|
|
|
+ errMsg.add("账户为机构群群主、需要转移群主或解散群聊");
|
|
|
}
|
|
|
}
|
|
|
|