Authored by chenchao

fix bug buyer can see seller deliver express info

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