...
|
...
|
@@ -561,6 +561,11 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
|
|
|
|
}
|
|
|
|
|
|
List<Integer> expressInfoStatus = Lists.newArrayList(AppraiseOrderStatus.SELLER_SEND_OUT.getCode(),
|
|
|
AppraiseOrderStatus.JUDGE_PASS.getCode(),
|
|
|
AppraiseOrderStatus.CHECKING_FAKE.getCode(),
|
|
|
AppraiseOrderStatus.QUALITY_CHECK_FAKE.getCode(),
|
|
|
AppraiseOrderStatus.PLATFORM_APPRAISE_UNSURE.getCode());
|
|
|
|
|
|
/**
|
|
|
* 付费鉴定 and 付费寄存 物流信息
|
...
|
...
|
@@ -579,8 +584,8 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
|
if (appraiseOrder.getAttributes() == AppraiseOrderAttributes.PAID_APPRAISE.getCode()){
|
|
|
|
|
|
// 用户发货, 待用户收货 只有这两个状态展示物流
|
|
|
throwServiceExceptionIf(appraiseOrder.getStatus() != AppraiseOrderStatus.SELLER_SEND_OUT.getCode()
|
|
|
&& appraiseOrder.getStatus() != AppraiseOrderStatus.WAITING_RECEIVE.getCode(), "不展示物流信息");
|
|
|
throwServiceExceptionIf(!expressInfoStatus.contains(appraiseOrder.getStatus()),
|
|
|
"不展示物流信息");
|
|
|
|
|
|
List<Integer> expressTypeList = getAppraiseExpressType(appraiseOrder);
|
|
|
if (CollectionUtils.isEmpty(expressTypeList)) {
|
...
|
...
|
@@ -773,7 +778,10 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
|
// 用户发货
|
|
|
if(status == AppraiseOrderStatus.SELLER_SEND_OUT.getCode()){
|
|
|
return Arrays.asList(EnumExpressType.EXPRESS_TYPE_1.getCode());
|
|
|
}else if(status == AppraiseOrderStatus.WAITING_RECEIVE.getCode()){
|
|
|
}else if(status == AppraiseOrderStatus.JUDGE_PASS.getCode()
|
|
|
|| status == AppraiseOrderStatus.CHECKING_FAKE.getCode()
|
|
|
|| status == AppraiseOrderStatus.QUALITY_CHECK_FAKE.getCode()
|
|
|
|| status == AppraiseOrderStatus.PLATFORM_APPRAISE_UNSURE.getCode()){
|
|
|
return Arrays.asList(EnumExpressType.EXPRESS_TYPE_2.getCode(),
|
|
|
EnumExpressType.EXPRESS_TYPE_3.getCode(),
|
|
|
EnumExpressType.EXPRESS_TYPE_REBACK.getCode());
|
...
|
...
|
@@ -787,7 +795,9 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
|
if (isSubOrder){
|
|
|
|
|
|
// 子订单状态: 虚假发货,质检不通过, 鉴定通过,鉴定不通过,无法鉴定,等待用户收货
|
|
|
if (status == AppraiseOrderStatus.WAITING_RECEIVE.getCode()){
|
|
|
if (status == AppraiseOrderStatus.CHECKING_FAKE.getCode()
|
|
|
|| status == AppraiseOrderStatus.QUALITY_CHECK_FAKE.getCode()
|
|
|
|| status == AppraiseOrderStatus.PLATFORM_APPRAISE_UNSURE.getCode()){
|
|
|
return Arrays.asList(EnumExpressType.EXPRESS_TYPE_2.getCode(),
|
|
|
EnumExpressType.EXPRESS_TYPE_3.getCode(),
|
|
|
EnumExpressType.EXPRESS_TYPE_REBACK.getCode());
|
...
|
...
|
@@ -800,7 +810,7 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { |
|
|
}
|
|
|
// 这些状态需要展示 平台鉴定
|
|
|
else if (AppraiseOrderStatus.PLATFORM_RECEIVE.getCode() == status
|
|
|
|| AppraiseOrderStatus.JUDGE_PASS.getCode() == status) {
|
|
|
|| AppraiseOrderStatus.FINISH.getCode() == status) {
|
|
|
return Arrays.asList(EnumExpressType.EXPRESS_TYPE_JUDGE_CENTER.getCode(), EnumExpressType.EXPRESS_TYPE_1.getCode());
|
|
|
}
|
|
|
}
|
...
|
...
|
|