Commit 184c57d0 authored by 廖旭伟's avatar 廖旭伟

用户站点授权bug修改

parent ae1bd709
...@@ -78,7 +78,11 @@ public class UserServiceImpl extends AbstractCRUDServiceImpl<UserDao, UserEntity ...@@ -78,7 +78,11 @@ public class UserServiceImpl extends AbstractCRUDServiceImpl<UserDao, UserEntity
} else { } else {
entity.setUserType(UserType.CUSTOMER.getValue()); entity.setUserType(UserType.CUSTOMER.getValue());
} }
if(StringUtils.isNotEmpty(entity.getAreaCodes())){
List<String> areaCodeList = Arrays.asList(entity.getAreaCodes().split(","));
String siteIds = areaService.getFlatSitesByAreaCodes(new AreaQuery().areaCodeList(areaCodeList), null);
entity.setSiteIds(siteIds);
}
} }
......
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