Commit e85c8c65 authored by guangjing.gao's avatar guangjing.gao

羊小咩租户处理

parent e37ea877
...@@ -115,6 +115,8 @@ public class UserServiceImpl implements IUserService, IBaseController { ...@@ -115,6 +115,8 @@ public class UserServiceImpl implements IUserService, IBaseController {
//校验租户ID //校验租户ID
if (!TenantUtil.validationTenantIdIsNullOrZero(tenantId)) { if (!TenantUtil.validationTenantIdIsNullOrZero(tenantId)) {
users = tenantService.selectUsersByTenantId(users, tenantId); users = tenantService.selectUsersByTenantId(users, tenantId);
}else {
users = tenantService.validationTentIdByTentId(users, tenantId);
} }
users.forEach(user -> userIdAndPhoneMap.put(user.getId(), user.getPhoneNo())); users.forEach(user -> userIdAndPhoneMap.put(user.getId(), user.getPhoneNo()));
return userIdAndPhoneMap; return userIdAndPhoneMap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment