...
|
...
|
@@ -2,6 +2,7 @@ package com.yohoufo.order.service; |
|
|
|
|
|
import com.yohobuy.ufo.model.order.common.OrderStatus;
|
|
|
import com.yohobuy.ufo.model.order.common.TabType;
|
|
|
import com.yohobuy.ufo.model.order.resp.ExpressInfoDetail;
|
|
|
import com.yohobuy.ufo.model.order.resp.ExpressInfoRespBo;
|
|
|
import com.yohoufo.common.constant.ExpressInfoConstant;
|
|
|
import com.yohoufo.order.common.ActionStatusHold;
|
...
|
...
|
@@ -85,6 +86,7 @@ public interface IExpressInfoService { |
|
|
|
|
|
ExpressInfoRespBo queryLastExpressDetailInfo(Long orderCode,int type);
|
|
|
|
|
|
ExpressInfoDetail getLastExpressInfoDetail(TabType actor,int status, Long orderCode);
|
|
|
/**
|
|
|
* orderCode 一定是买家订单号
|
|
|
* @return
|
...
|
...
|
@@ -144,10 +146,10 @@ public interface IExpressInfoService { |
|
|
return types;
|
|
|
}
|
|
|
|
|
|
default Integer getExpressTypeBuyer(Integer status){
|
|
|
if (ActionStatusHold.buyerCanShowBuyerDeliverExpressStatusList(status)){
|
|
|
return ExpressInfoConstant.EXPRESS_TYPE_1;
|
|
|
default List<Integer> getExpressType4Buyer(Integer status){
|
|
|
if (ActionStatusHold.buyerCanShowSellerDeliverExpressStatusList(status)){
|
|
|
return Arrays.asList(ExpressInfoConstant.EXPRESS_TYPE_1);
|
|
|
}
|
|
|
return ExpressInfoConstant.EXPRESS_TYPE_2;
|
|
|
return Arrays.asList(ExpressInfoConstant.EXPRESS_TYPE_2,ExpressInfoConstant.EXPRESS_TYPE_1);
|
|
|
}
|
|
|
} |
...
|
...
|
|