bug
This commit is contained in:
@@ -391,12 +391,12 @@ public class BuyOrderServiceImpl extends ServiceImpl<BuyOrderDao, BuyOrder> impl
|
||||
ConsigneeVo consigneeVo = new ConsigneeVo();
|
||||
consigneeVo.setConsigneeName(b.getShippingUser());
|
||||
consigneeVo.setConsigneeMobile(b.getUserPhone());
|
||||
County county = countyService.getOne(new LambdaQueryWrapper<County>().eq(County::getCountyName, b.getDistrict()));
|
||||
consigneeVo.setCounty(county.getCountyName());
|
||||
consigneeVo.setCountyCode(county.getRegionCode());
|
||||
City city = cityService.getOne(new LambdaQueryWrapper<City>().eq(City::getCityId, county.getCityId()));
|
||||
City city = cityService.getOne(new LambdaQueryWrapper<City>().eq(City::getCityName, b.getCity()));
|
||||
consigneeVo.setCity(city.getCityName());
|
||||
consigneeVo.setCityCode(city.getRegionCode());
|
||||
County county = countyService.getOne(new LambdaQueryWrapper<County>().eq(County::getCountyName,b.getDistrict()).eq(County::getCityId,city.getCityId()));
|
||||
consigneeVo.setCounty(county.getCountyName());
|
||||
consigneeVo.setCountyCode(county.getRegionCode());
|
||||
Province province = provinceService.getOne(new LambdaQueryWrapper<Province>().eq(Province::getProvId, city.getProvId()));
|
||||
consigneeVo.setProvince(province.getProvName());
|
||||
consigneeVo.setProvinceCode(province.getRegionCode());
|
||||
|
||||
Reference in New Issue
Block a user