| | |
| | | private ShiroExtUtil shiroExtUtil; |
| | | @Autowired |
| | | private IDriverWorkService iDriverWorkService; |
| | | @Autowired |
| | | private ITRegionService regionService; |
| | | |
| | | /** |
| | | * 跳转投诉页面 |
| | |
| | | driver.setAddType(2); |
| | | driver.setAddObjectId(shiroExtUtil.getUser().getObjectId()); |
| | | driver.setPlaceOfEmployment(cell201); |
| | | if(ToolUtil.isNotEmpty(cell201)){ |
| | | TRegion tRegion = regionService.selectOne(new EntityWrapper<TRegion>().eq("code", cell201)); |
| | | String placeOfPractice = ""; |
| | | if(null != tRegion){ |
| | | Integer parentId = tRegion.getParentId(); |
| | | if(0 != parentId){ |
| | | TRegion tRegion1 = regionService.selectById(parentId); |
| | | if(0 != tRegion1.getParentId()){ |
| | | TRegion tRegion2 = regionService.selectById(tRegion1.getParentId()); |
| | | placeOfPractice = tRegion2.getName() + "," + tRegion1.getName() + "," + tRegion.getName(); |
| | | }else{ |
| | | placeOfPractice = tRegion1.getName() + "," + tRegion.getName(); |
| | | } |
| | | }else{ |
| | | placeOfPractice = tRegion.getName(); |
| | | } |
| | | } |
| | | driver.setPlaceOfPractice(placeOfPractice); |
| | | } |
| | | if (SinataUtil.isNotEmpty(eight)) { |
| | | driver.setDriverAddress(eight); |
| | | } |