|
@@ -8,6 +8,7 @@ import com.yoho.error.exception.ServiceException; |
|
@@ -8,6 +8,7 @@ import com.yoho.error.exception.ServiceException; |
8
|
import com.yohobuy.ufo.model.order.common.TabType;
|
8
|
import com.yohobuy.ufo.model.order.common.TabType;
|
9
|
import com.yohobuy.ufo.model.order.resp.ExpressInfoDetail;
|
9
|
import com.yohobuy.ufo.model.order.resp.ExpressInfoDetail;
|
10
|
import com.yohobuy.ufo.model.order.resp.ExpressInfoRespBo;
|
10
|
import com.yohobuy.ufo.model.order.resp.ExpressInfoRespBo;
|
|
|
11
|
+import com.yohoufo.common.constant.EnumExpressSender;
|
11
|
import com.yohoufo.common.constant.ExpressInfoConstant;
|
12
|
import com.yohoufo.common.constant.ExpressInfoConstant;
|
12
|
import com.yohoufo.common.utils.DateUtil;
|
13
|
import com.yohoufo.common.utils.DateUtil;
|
13
|
import com.yohoufo.dal.order.*;
|
14
|
import com.yohoufo.dal.order.*;
|
|
@@ -277,6 +278,10 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
@@ -277,6 +278,10 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
277
|
expressInfoRespBo.setExpressInfoDetailList(expressInfoDetailList);
|
278
|
expressInfoRespBo.setExpressInfoDetailList(expressInfoDetailList);
|
278
|
// 快递单号
|
279
|
// 快递单号
|
279
|
expressInfoRespBo.setWayBillCode(expressInfoList.get(0).getWaybillCode());
|
280
|
expressInfoRespBo.setWayBillCode(expressInfoList.get(0).getWaybillCode());
|
|
|
281
|
+ //物流类型
|
|
|
282
|
+ expressInfoRespBo.setExpressType(expressInfoList.get(0).getExpressType());
|
|
|
283
|
+ //物流发货方
|
|
|
284
|
+ expressInfoRespBo.setExpressSender(EnumExpressSender.getSenderName(expressInfoRespBo.getExpressType().intValue()));
|
280
|
// 快递公司名称
|
285
|
// 快递公司名称
|
281
|
expressInfoRespBo.setExpressCompanyName(expressCompanyService.getExpressName(expressInfoList.get(0).getLogisticsType()));
|
286
|
expressInfoRespBo.setExpressCompanyName(expressCompanyService.getExpressName(expressInfoList.get(0).getLogisticsType()));
|
282
|
}
|
287
|
}
|