|
@@ -27,6 +27,7 @@ import com.yohoufo.order.service.cache.CacheKeyBuilder; |
|
@@ -27,6 +27,7 @@ import com.yohoufo.order.service.cache.CacheKeyBuilder; |
27
|
import com.yohoufo.order.service.proxy.InBoxFacade;
|
27
|
import com.yohoufo.order.service.proxy.InBoxFacade;
|
28
|
import com.yohoufo.order.service.proxy.ProductProxyService;
|
28
|
import com.yohoufo.order.service.proxy.ProductProxyService;
|
29
|
import org.apache.commons.collections.CollectionUtils;
|
29
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
30
|
+import org.apache.commons.lang3.StringUtils;
|
30
|
import org.slf4j.Logger;
|
31
|
import org.slf4j.Logger;
|
31
|
import org.slf4j.LoggerFactory;
|
32
|
import org.slf4j.LoggerFactory;
|
32
|
import org.springframework.beans.factory.annotation.Autowired;
|
33
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -300,7 +301,12 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
@@ -300,7 +301,12 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
300
|
expressInfoRespBo.setSupplementExpressInfoDetailList(supplementExpressInfoDetailList);
|
301
|
expressInfoRespBo.setSupplementExpressInfoDetailList(supplementExpressInfoDetailList);
|
301
|
if(expressType.intValue()!=0&&ExpressInfoConstant.EXPRESS_TYPE_1.intValue()!=expressType.intValue()){
|
302
|
if(expressType.intValue()!=0&&ExpressInfoConstant.EXPRESS_TYPE_1.intValue()!=expressType.intValue()){
|
302
|
if(ExpressInfoConstant.EXPRESS_TYPE_2.intValue()==expressType.intValue()){
|
303
|
if(ExpressInfoConstant.EXPRESS_TYPE_2.intValue()==expressType.intValue()){
|
303
|
- //买家这个时候需要看买家的物流
|
304
|
+ //买家这个时候需要看卖家的物流
|
|
|
305
|
+ //设置物流提示头信息
|
|
|
306
|
+ if(StringUtils.isBlank(expressInfoRespBo.getExpressSender())){
|
|
|
307
|
+ expressInfoRespBo.setExpressSender(EnumExpressSender.getSenderName(ExpressInfoConstant.EXPRESS_TYPE_1.intValue()));
|
|
|
308
|
+ }
|
|
|
309
|
+ //卖家物流详细
|
304
|
List<ExpressInfo> previousExpressInfoList = expressInfoMapper.selectAllExpressInfo(buyerOrder.getSellerUid(), orderCode, ExpressInfoConstant.EXPRESS_TYPE_1);
|
310
|
List<ExpressInfo> previousExpressInfoList = expressInfoMapper.selectAllExpressInfo(buyerOrder.getSellerUid(), orderCode, ExpressInfoConstant.EXPRESS_TYPE_1);
|
305
|
constructExpressInfo(previousExpressInfoList, supplementExpressInfoDetailList);
|
311
|
constructExpressInfo(previousExpressInfoList, supplementExpressInfoDetailList);
|
306
|
}else if(ExpressInfoConstant.EXPRESS_TYPE_3.intValue()==expressType.intValue()
|
312
|
}else if(ExpressInfoConstant.EXPRESS_TYPE_3.intValue()==expressType.intValue()
|