Commit f1f693b5 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 5e3e216f 387f7436
......@@ -78,7 +78,11 @@ public class UserServiceImpl extends AbstractCRUDServiceImpl<UserDao, UserEntity
} else {
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