...
|
...
|
@@ -8,6 +8,7 @@ import com.yohobuy.ufo.model.order.bo.GoodsInfo; |
|
|
import com.yohobuy.ufo.model.order.bo.OrderInfo;
|
|
|
import com.yohobuy.ufo.model.order.bo.TimeoutBo;
|
|
|
import com.yohobuy.ufo.model.order.common.*;
|
|
|
import com.yohobuy.ufo.model.order.constants.SkupType;
|
|
|
import com.yohobuy.ufo.model.order.resp.OrderListInfo;
|
|
|
import com.yohobuy.ufo.model.order.resp.PageResp;
|
|
|
import com.yohobuy.ufo.model.order.vo.OrderListVo;
|
...
|
...
|
@@ -285,10 +286,12 @@ public class SellerOrderListService extends AbsOrderListService implements IOrde |
|
|
goodsInfo.setBatchNo(sellerOrderGoods.getBatchNo());
|
|
|
goodsInfo.setStorageNum(storageNum);
|
|
|
goodsInfo.setSkupList(sellerOrderGoods.getSkupList());
|
|
|
Integer soga = sellerOrderGoods.getAttributes();
|
|
|
SkupType skupType = SkupType.getSkupType(soga);
|
|
|
if(SkupStatus.CAN_SELL.getCode() == skupStatus.getCode()){
|
|
|
ProductProxyService.PrdPrice prdPrice = getPrdPrice(sellerOrderGoods.getStorageId());
|
|
|
BigDecimal leastPrice = prdPrice.getLeastPrice();
|
|
|
if (Objects.nonNull(prdPrice.getLeastPrice()) && leastPrice.compareTo(BigDecimal.ZERO)>0){
|
|
|
BigDecimal leastPrice;
|
|
|
if (Objects.nonNull(leastPrice=prdPrice.getLeastPrice(skupType)) && leastPrice.compareTo(BigDecimal.ZERO)>0){
|
|
|
goodsInfo.setLeastPrice(leastPrice);
|
|
|
goodsInfo.setLeastPriceOfSkuTips(buildLeastPriceTips(leastPrice));
|
|
|
}
|
...
|
...
|
@@ -299,7 +302,7 @@ public class SellerOrderListService extends AbsOrderListService implements IOrde |
|
|
if (SHOW_OVER_FLOW_PRICE_STATUS.contains(skupStatus.getCode())){
|
|
|
orderListInfo.setTips(overPriceTipsMap.get(OrderAssist.overFlowPriceKey(sellerOrderGoods.getStorageId(), sellerOrderGoods.getGoodsPrice())));
|
|
|
}
|
|
|
orderListInfo.setIsAdvance(OrderAssist.getSkupIsAdvance(sellerOrderGoods.getAttributes()));
|
|
|
orderListInfo.setIsAdvance(OrderAssist.getSkupIsAdvance(soga));
|
|
|
return orderListInfo;
|
|
|
}
|
|
|
|
...
|
...
|
|