...
|
...
|
@@ -24,6 +24,7 @@ import com.yohoufo.order.convert.ProductConvertor; |
|
|
import com.yohoufo.order.model.dto.SellerOrderComputeResult;
|
|
|
import com.yohoufo.order.service.impl.AbsOrderViewService;
|
|
|
import com.yohoufo.order.utils.LoggerUtils;
|
|
|
import com.yohoufo.order.utils.SellerGoodsHelper;
|
|
|
import lombok.Builder;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.slf4j.Logger;
|
...
|
...
|
@@ -206,7 +207,7 @@ public class SellerDepositOrderListService extends AbsOrderViewService { |
|
|
GoodsVo goods = GoodsVo.builder()
|
|
|
.productName(paog.getProductName())
|
|
|
.imgUrl(ImageUrlAssist.getProductFullPicUrlWithDefaultSetting(paog.getImageUrl()))
|
|
|
.sizeName(paos.getSizeName())
|
|
|
.sizeName(SellerGoodsHelper.appendSizeCNUnit(paos.getSizeName()))
|
|
|
.build();
|
|
|
DepositOrderInStorePrdListResp resp = DepositOrderInStorePrdListResp.builder()
|
|
|
.earnestMoney(BigDecimalHelper.halfUp(pao.getAmount()).toPlainString())
|
...
|
...
|
@@ -308,7 +309,7 @@ public class SellerDepositOrderListService extends AbsOrderViewService { |
|
|
}
|
|
|
Integer storageNum;
|
|
|
BigDecimal emOfSku = socr.getEarnestMoney().getEarnestMoney().multiply(new BigDecimal(storageNum=aos.getNum()));
|
|
|
GoodsVo goodsVo = GoodsVo.builder().sizeName(aos.getSizeName()).num(storageNum)
|
|
|
GoodsVo goodsVo = GoodsVo.builder().sizeName(SellerGoodsHelper.appendSizeCNUnit(aos.getSizeName())).num(storageNum)
|
|
|
.earnestMoney(BigDecimalHelper.formatNumber(emOfSku, BigDecimalHelper.FORMAT_TWOBITAFTERPOINT)).build();
|
|
|
goodsList.add(goodsVo);
|
|
|
}
|
...
|
...
|
|