Commit 1234967f authored by tangwei's avatar tangwei

修改全部角色

parent 976676c8
......@@ -378,7 +378,9 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto, PersonBa
List<String> re= personAccount.getRegionalCompaniesSeq();
if(re!=null&&!re.isEmpty()){
if(re.contains("all")){
stdUserEmpowerhygf.setAmosOrgCode(null);
List<String> all=new ArrayList<>();
all.add("all");
stdUserEmpowerhygf.setAmosOrgCode(all);
}else{
stdUserEmpowerhygf.setAmosOrgCode(re);
}
......@@ -657,7 +659,9 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto, PersonBa
List<String> re= personAccount.getRegionalCompaniesSeq();
if(re!=null&&!re.isEmpty()){
if(re.contains("all")){
stdUserEmpowerhygf.setAmosOrgCode(null);
List<String> all=new ArrayList<>();
all.add("all");
stdUserEmpowerhygf.setAmosOrgCode(all);
}else{
stdUserEmpowerhygf.setAmosOrgCode(re);
}
......@@ -683,7 +687,9 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto, PersonBa
List<String> re= personAccount.getRegionalCompaniesSeq();
if(re!=null&&!re.isEmpty()){
if(re.contains("all")){
stdUserEmpowerhygf.setAmosOrgCode(null);
List<String> all=new ArrayList<>();
all.add("all");
stdUserEmpowerhygf.setAmosOrgCode(all);
}else{
stdUserEmpowerhygf.setAmosOrgCode(re);
}
......
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