|
@@ -150,7 +150,7 @@ public class DoctorUserServiceImpl implements IDoctorUserService {
|
|
|
.eq(SysUserTenantPO::getUserId, currentUserId)
|
|
.eq(SysUserTenantPO::getUserId, currentUserId)
|
|
|
.last("limit 1"));
|
|
.last("limit 1"));
|
|
|
if(ObjectUtil.isNotNull(userTenant)){
|
|
if(ObjectUtil.isNotNull(userTenant)){
|
|
|
- throw new ServiceException(TRExcCode.SYSTEM_ERROR_B0001, "邀请码不存在");
|
|
|
|
|
|
|
+ throw new ServiceException(TRExcCode.SYSTEM_ERROR_B0001, "已绑定该医院");
|
|
|
}
|
|
}
|
|
|
SysUserTenantPO sysUserTenantPO = new SysUserTenantPO();
|
|
SysUserTenantPO sysUserTenantPO = new SysUserTenantPO();
|
|
|
sysUserTenantPO.setUserId(currentUserId);
|
|
sysUserTenantPO.setUserId(currentUserId);
|