Authored by mali

求购订单 没有卖家的时候代码兼容

... ... @@ -2867,7 +2867,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon
resp.setTariffAmount(buyerOrderGoodsService.getTariffAmount(goods));
resp.setCutPromotionAmount(buyerOrderGoodsService.getCutPromotionAmountStr(goods));
SellerOrder sellerOrder = sellerOrderMapper.selectBySkup(skup);
resp.setSellerCouponCutAmount(sellerOrder.getCouponCutAmount() == null ? "0.00" : String.format("%.2f", sellerOrder.getCouponCutAmount().doubleValue()));
resp.setSellerCouponCutAmount(null == sellerOrder || sellerOrder.getCouponCutAmount() == null ? "0.00" : String.format("%.2f", sellerOrder.getCouponCutAmount().doubleValue()));
SellerOrderMeta sellerMeta = sellerOrderMetaMapper.selectBySkupAndKey(skup, SELLER_ORDER_META_KEY_BACK_DELIVERY_ADDRESS);
if(sellerMeta!=null){
JSONObject sellerMetaValue = JSONObject.parseObject(sellerMeta.getMetaValue());
... ...