Merge branch 'test6.8.5' of http://git.yoho.cn/ufo/yohoufo-fore into test6.8.5
Showing
1 changed file
with
6 additions
and
6 deletions
@@ -371,11 +371,11 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { | @@ -371,11 +371,11 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { | ||
371 | } | 371 | } |
372 | 372 | ||
373 | //1.物流单号信息 | 373 | //1.物流单号信息 |
374 | - if(TabType.BUY==actor){ | ||
375 | - //买家只能看到自己的物流 | ||
376 | - constructWayBillInfo(orderCode,Arrays.asList(EnumExpressType.EXPRESS_TYPE_2.getCode()),expressInfoRespBo); | ||
377 | - }else{ | ||
378 | - constructWayBillInfo(orderCode,expressTypeList,expressInfoRespBo); | 374 | + constructWayBillInfo(orderCode,expressTypeList,expressInfoRespBo); |
375 | + if(TabType.BUY==actor&&expressInfoRespBo.getExpressType()!=null | ||
376 | + &&expressInfoRespBo.getExpressType().intValue()==EnumExpressType.EXPRESS_TYPE_1.getCode().intValue()){ | ||
377 | + //买家不能看到卖家的物流单号 | ||
378 | + expressInfoRespBo.setWayBillCode(""); | ||
379 | } | 379 | } |
380 | 380 | ||
381 | 381 | ||
@@ -493,7 +493,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { | @@ -493,7 +493,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { | ||
493 | // 快递单号 | 493 | // 快递单号 |
494 | expressInfoRespBo.setWayBillCode(expressRecord.getWaybillCode()); | 494 | expressInfoRespBo.setWayBillCode(expressRecord.getWaybillCode()); |
495 | //物流类型 | 495 | //物流类型 |
496 | - expressInfoRespBo.setExpressType(expressTypeList.get(0).byteValue()); | 496 | + expressInfoRespBo.setExpressType(expressType.byteValue()); |
497 | //物流发货方 | 497 | //物流发货方 |
498 | expressInfoRespBo.setExpressSender(getSenderName(expressInfoRespBo.getExpressType().intValue())); | 498 | expressInfoRespBo.setExpressSender(getSenderName(expressInfoRespBo.getExpressType().intValue())); |
499 | // 快递公司名称 | 499 | // 快递公司名称 |
-
Please register or login to post a comment