...
|
...
|
@@ -3,7 +3,10 @@ package com.yohoufo.order.service.impl; |
|
|
import com.google.common.collect.Maps;
|
|
|
import com.yoho.error.ServiceError;
|
|
|
import com.yoho.error.exception.ServiceException;
|
|
|
import com.yohobuy.ufo.model.order.bo.*;
|
|
|
import com.yohobuy.ufo.model.order.bo.ButtonShowBo;
|
|
|
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;
|
...
|
...
|
@@ -316,14 +319,7 @@ public class SellerOrderListService extends AbsOrderListService implements IOrde |
|
|
goodsInfo.setStorageNum(storageNum);
|
|
|
goodsInfo.setSkupList(sellerOrderGoods.getSkupList());
|
|
|
|
|
|
if(SkupStatus.CAN_SELL.getCode() == skupStatus.getCode()){
|
|
|
PrdPrice prdPrice = sellerOrderViewService.getPrdPrice(sellerOrderGoods.getStorageId());
|
|
|
BigDecimal leastPrice;
|
|
|
if (Objects.nonNull(leastPrice=prdPrice.getLeastPrice(skupType)) && leastPrice.compareTo(BigDecimal.ZERO)>0){
|
|
|
goodsInfo.setLeastPrice(leastPrice);
|
|
|
goodsInfo.setLeastPriceOfSkuTips(sellerOrderViewService.buildLeastPriceTips(leastPrice));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
orderListInfo.setGoodsInfo(goodsInfo);
|
|
|
orderListInfo.setSecendLevelCreateTime(sellerOrder.getCreateTime());
|
|
|
orderListInfo.setCreateTime(DateUtil.formatDate(sellerOrder.getCreateTime(), DateUtil.yyyy_MM_dd_HH_mm_SS));
|
...
|
...
|
|