|
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.microsvc.toolkit.common.webportal.exception.BizException;
|
|
|
+import com.yonge.cooleshow.auth.api.entity.SysUser;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.*;
|
|
|
import com.yonge.cooleshow.biz.dal.enums.AuthStatusEnum;
|
|
|
import com.yonge.cooleshow.biz.dal.enums.ClientEnum;
|
|
@@ -59,7 +60,7 @@ public class TenantApplyRecordServiceImpl extends ServiceImpl<TenantApplyRecordM
|
|
|
private SysConfigService sysConfigService;
|
|
|
|
|
|
@Autowired
|
|
|
- private SysUserMapper sysUserMapper;
|
|
|
+ private SysUserService sysUserService;
|
|
|
|
|
|
/**
|
|
|
* 查询详情
|
|
@@ -125,7 +126,7 @@ public class TenantApplyRecordServiceImpl extends ServiceImpl<TenantApplyRecordM
|
|
|
// 根据手机号 判断是否已经有机构账户
|
|
|
TenantStaff tenantStaff = tenantStaffService.getByPhone(tenantApply.getPhone());
|
|
|
if (tenantStaff != null) {
|
|
|
- throw new BizException("该手机号已经有机构账户");
|
|
|
+ throw new BizException("该手机号已经有机构账号");
|
|
|
}
|
|
|
|
|
|
// 查询申请记录 是否存在正在申请中的
|