Commit 69bf0e27 by 丁伟峰

字段规范化

1 parent 9f59f41b
......@@ -4,7 +4,7 @@ import lombok.Data;
@Data
public class LocationDTO {
private String address;
private String formattedAddress;
private String country;
private String province;
private String citycode;
......
......@@ -108,7 +108,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
entity.setProvince(location.getProvince());
entity.setCity(location.getCity());
entity.setCounty(location.getDistrict());
entity.setAddress(location.getAddress());
entity.setAddress(location.getFormattedAddress());
// 根据分单,填写clusterId/branchId/groupId/teamId等
String layer = productCategoryDao.getLayerByBrandAndTypeAndSkill(req.getBrand(), req.getType(), req.getSkill());
String loc = String.format("%f,%f", req.getLocation().getLng(), req.getLocation().getLat());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!