Commit 63c69c4d authored by chenzhao's avatar chenzhao

经销商权限修改

parent 86051b9f
......@@ -76,7 +76,7 @@ public class UserLimitsAdvice {
stdUserEmpower.setFlag(false);
stdUserEmpower.setDeveloperId(userUnitInformationDto!=null?userUnitInformationDto.getAmosUnitInfoId():null);
stdUserEmpower.setRegionalCompaniesCode(userUnitInformationDto!=null?userUnitInformationDto.getRegionalCompaniesCode():null);
stdUserEmpower.setAmosOrgCode(Arrays.asList(userUnitInformationDto.getAmosUnitOrgCode()));
stdUserEmpower.setAmosOrgCode(Arrays.asList(userUnitInformationDto.getAmosDealerOrgCode()));
int num = StringUtils.countMatches(org, ROLEFLAG);
if (org.contains(ROLEFLDEVELOP) && num<2 ){
stdUserEmpower.setUserId(userid);
......
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