main
parent
2d297c356c
commit
a114b7a461
|
|
@ -46,6 +46,9 @@ public class AppUserServiceImpl implements IAppUserService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private AppSkillMapper appSkillMapper;
|
private AppSkillMapper appSkillMapper;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private AppProvinceMapper appProvinceMapper;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private AppProvinceMapper appProvinceMapper;
|
private AppProvinceMapper appProvinceMapper;
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|
@ -121,6 +124,13 @@ public class AppUserServiceImpl implements IAppUserService {
|
||||||
appUserVo.setSchoolName(appSchool.getName());
|
appUserVo.setSchoolName(appSchool.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
AppProvince appProvince = appProvinceMapper.selectAppProvinceById(appUserSource.getProvinceId());
|
||||||
|
AppCity appCity = appCityMapper.selectAppCityById(Long.valueOf(appUserSource.getCityId()));
|
||||||
|
AppTown appTown = appTownMapper.selectAppTownById(Long.valueOf(appUserSource.getTownId()));
|
||||||
|
String province = appProvince != null ? appProvince.getName() + "-" : "";
|
||||||
|
String cityName = appCity != null ? appCity.getName() + "-" : "";
|
||||||
|
String townName = appTown != null ? appTown.getName() : "";
|
||||||
|
appUserVo.setAddress(province + cityName + townName);
|
||||||
return appUserVo;
|
return appUserVo;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue