|
@@ -461,6 +461,19 @@ public class SysUserServiceImpl extends BaseServiceImpl<Long, SysUser> implement
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
+ public HttpResponseResult<List<String>> logoffCheckByPhone(String phone) {
|
|
|
+ HttpResponseResult<List<String>> check = adminFeignService.accountLogoffCheck(phone);
|
|
|
+ if (check == null) {
|
|
|
+ throw new BizException("数据检查失败");
|
|
|
+ }
|
|
|
+ List<String> errMsg = check.getData();
|
|
|
+ if (!CollectionUtils.isEmpty(errMsg)) {
|
|
|
+ return HttpResponseResult.failed(500, errMsg, "存在未处理事项");
|
|
|
+ }
|
|
|
+ return HttpResponseResult.succeed();
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
public void updateStudentHideFlag(Long userId, int hideFlag) {
|
|
|
sysUserDao.updateStudentHideFlag(userId, hideFlag);
|
|
|
}
|