Authored by tanling

子订单质检不通过,详情页展示物流

... ... @@ -10,10 +10,7 @@ import com.yohobuy.ufo.model.order.constants.DepotType;
import com.yohobuy.ufo.model.order.constants.SkupType;
import com.yohobuy.ufo.model.order.req.SellerDepositOrderDetailReq;
import com.yohobuy.ufo.model.order.req.SellerDepositOrderPrdListReq;
import com.yohobuy.ufo.model.order.resp.AppraiseAddressInfo;
import com.yohobuy.ufo.model.order.resp.OrderDetailInfo;
import com.yohobuy.ufo.model.order.resp.PageResp;
import com.yohobuy.ufo.model.order.resp.SellerDepositOrderDetailResp;
import com.yohobuy.ufo.model.order.resp.*;
import com.yohobuy.ufo.model.order.vo.AddressInfo;
import com.yohobuy.ufo.model.order.vo.ProductVo;
import com.yohoufo.common.utils.BigDecimalHelper;
... ... @@ -33,6 +30,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Objects;
@Service
public class SellerDepositOrderDetailService extends AbsOrderViewService {
... ... @@ -96,14 +94,15 @@ public class SellerDepositOrderDetailService extends AbsOrderViewService {
//
TimeoutBo timeout = calTimeout(TabType.BUY, uid, orderCode, pao.getStatus(),
pao.getCreateTime(), oa);
boolean expressShow = showEXpressInfoStatusList.contains(pao.getStatus());
ExpressInfoDetail lastExpressInfoDetail = expressInfoService.getLastExpressInfoDetail(pao);
//
AppraiseOrderStatus aos = AppraiseOrderStatus.getByCode(pao.getStatus());
OrderDetailInfo.StatusDetail statusDetail = OrderDetailInfo.StatusDetail
.builder()
.statuStr(aos.statusStr(oa))
.detailDesc(aos.detailDesc(oa))
.expressShow(expressShow)
.expressShow(Objects.isNull(lastExpressInfoDetail) ? false : true)
.build();
//
AppraiseAddressInfo appraiseAddressInfo = null;
... ...