Authored by chenchao

fix bug buyer can see seller deliver express info

@@ -4,7 +4,6 @@ import com.yohobuy.ufo.model.order.common.OrderStatus; @@ -4,7 +4,6 @@ import com.yohobuy.ufo.model.order.common.OrderStatus;
4 import com.yohobuy.ufo.model.order.common.TabType; 4 import com.yohobuy.ufo.model.order.common.TabType;
5 import com.yohobuy.ufo.model.order.resp.ExpressInfoRespBo; 5 import com.yohobuy.ufo.model.order.resp.ExpressInfoRespBo;
6 import com.yohoufo.common.constant.ExpressInfoConstant; 6 import com.yohoufo.common.constant.ExpressInfoConstant;
7 -import com.yohoufo.dal.order.model.BuyerOrder;  
8 import com.yohoufo.order.model.response.AppraiseAddressResp; 7 import com.yohoufo.order.model.response.AppraiseAddressResp;
9 8
10 import java.util.Objects; 9 import java.util.Objects;
@@ -127,6 +126,10 @@ public interface IExpressInfoService { @@ -127,6 +126,10 @@ public interface IExpressInfoService {
127 } 126 }
128 127
129 default Integer getExpressTypeBuyer(Integer status){ 128 default Integer getExpressTypeBuyer(Integer status){
  129 + if (Objects.equals(status, OrderStatus.SELLER_SEND_OUT.getCode())
  130 + || Objects.equals(status, OrderStatus.PLATFORM_CHECKING.getCode())){
  131 + return ExpressInfoConstant.EXPRESS_TYPE_1;
  132 + }
130 return ExpressInfoConstant.EXPRESS_TYPE_2; 133 return ExpressInfoConstant.EXPRESS_TYPE_2;
131 } 134 }
132 } 135 }