|
@@ -222,7 +222,12 @@ public class BaseServiceImpl implements BaseService {
|
|
// 判断机构状态
|
|
// 判断机构状态
|
|
Integer clubStatus = baseMapper.getClubStatusByUserId(operationUserId);
|
|
Integer clubStatus = baseMapper.getClubStatusByUserId(operationUserId);
|
|
if(null != clubStatus && 91 != clubStatus) {
|
|
if(null != clubStatus && 91 != clubStatus) {
|
|
- return ResponseJson.error("该手机号已被使用");
|
|
|
|
|
|
+ return ResponseJson.error("该手机号已被机构使用");
|
|
|
|
+ }
|
|
|
|
+ // 判断供应商状态
|
|
|
|
+ Integer shopStatus = baseMapper.getShopStatusByUserId(operationUserId);
|
|
|
|
+ if(null != shopStatus && 91 != shopStatus) {
|
|
|
|
+ return ResponseJson.error("该手机号已被供应商使用");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|