|
@@ -143,7 +143,7 @@ public class SiteUserImpl implements SiteUserService {
|
|
result += pcSiteUserMapper.insert(dbData);
|
|
result += pcSiteUserMapper.insert(dbData);
|
|
} else {
|
|
} else {
|
|
// 修改时,ID列表中没有参数中的ID才报错
|
|
// 修改时,ID列表中没有参数中的ID才报错
|
|
- if (!byMobileSiteId.isEmpty() && !byMobileSiteId.contains(data.siteID)) {
|
|
|
|
|
|
+ if (!byMobileSiteId.isEmpty() && !byMobileSiteId.contains(data.siteUserID)) {
|
|
throw new BaseException("500", "该手机号已绑定其他驿站人员");
|
|
throw new BaseException("500", "该手机号已绑定其他驿站人员");
|
|
}
|
|
}
|
|
|
|
|