|
@@ -167,6 +167,13 @@ public class WxOrderServiceImpl implements WxOrderService {
|
|
|
return;
|
|
|
});
|
|
|
}
|
|
|
+ if(StringUtils.isEmpty(wxOrder.getConsigneeDistrictCode())){//如为空则设置为市区
|
|
|
+ wxOrder.setConsigneeDistrictCode(itemDivi.get("diviCode").toString());
|
|
|
+ }
|
|
|
+ if(StringUtils.isEmpty(wxOrder.getConsigneeDistrict())){//如为空则设置为市区
|
|
|
+ wxOrder.setConsigneeAddress(wxOrder.getConsigneeDistrict()+wxOrder.getConsigneeAddress());
|
|
|
+ wxOrder.setConsigneeDistrict(wxOrder.getConsigneeCity());
|
|
|
+ }
|
|
|
return;
|
|
|
}
|
|
|
});
|