Commit e48d3b47 authored by DESKTOP-BQLVS7A\admin's avatar DESKTOP-BQLVS7A\admin

完善ugp管辖区域接口

parent af1d7c08
...@@ -76,7 +76,10 @@ public class UnitPersonServiceImpl implements IUnitPersonService { ...@@ -76,7 +76,10 @@ public class UnitPersonServiceImpl implements IUnitPersonService {
List<SuperviseRule> adminRegions = superviseRuleMapper.selectList(wrapper); List<SuperviseRule> adminRegions = superviseRuleMapper.selectList(wrapper);
for (SuperviseRule adminRegion : adminRegions) { for (SuperviseRule adminRegion : adminRegions) {
if (!ValidationUtil.isEmpty(adminRegion.getAdminRegion())){ if (!ValidationUtil.isEmpty(adminRegion.getAdminRegion())){
unitName=unitName.concat(adminRegion.getAdminRegion()+"、"); if(unitName.equals("")){
unitName = unitName.concat(adminRegion.getAdminRegion());
}
unitName = unitName.concat("、"+adminRegion.getAdminRegion());
} }
} }
......
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