20231122.9.43

This commit is contained in:
wangjinlei
2023-11-22 09:43:23 +08:00
parent 5e06610316
commit c51e56fdf7
9 changed files with 5 additions and 113 deletions

View File

@@ -48,6 +48,9 @@ public class UserAddressServiceImpl extends ServiceImpl<UserAddressDao, UserAddr
QueryWrapper<County> countyQueryWrapper = new QueryWrapper<>();
countyQueryWrapper.eq("region_code", regionCode);
County county = countyService.getOne(countyQueryWrapper);
if(county==null){
return null;
}
vo.setCounty(county.getCountyName());
String cityRegionCode;
if (regionCode.startsWith("11") || regionCode.startsWith("12") || regionCode.startsWith("31") || regionCode.startsWith("50")) {