...
|
...
|
@@ -3,6 +3,7 @@ package com.yohoufo.order.convert; |
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.yohobuy.ufo.model.order.req.OrderAddressReq;
|
|
|
import com.yohobuy.ufo.model.order.vo.AddressInfo;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
import java.util.Objects;
|
|
|
|
...
|
...
|
@@ -84,7 +85,9 @@ public class AddressInfoConvertor { |
|
|
private static void mergeChangedAddress4Hidden(AddressInfo hiddenAddress,
|
|
|
AddressInfo hiddenAddressTemp){
|
|
|
hiddenAddress.setArea(hiddenAddressTemp.getArea());
|
|
|
hiddenAddress.setAreaCode(hiddenAddressTemp.getAreaCode());
|
|
|
if (StringUtils.isNotBlank(hiddenAddressTemp.getAreaCode())){
|
|
|
hiddenAddress.setAreaCode(hiddenAddressTemp.getAreaCode());
|
|
|
}
|
|
|
hiddenAddress.setMobile(hiddenAddressTemp.getMobile());
|
|
|
hiddenAddress.setConsignee(hiddenAddressTemp.getConsignee());
|
|
|
hiddenAddress.setAddress(hiddenAddressTemp.getAddress());
|
...
|
...
|
|