Authored by chenchao

寄存转现货发货后买家取消订单,买家订单详情页里违约金显示错误

@@ -491,8 +491,12 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I @@ -491,8 +491,12 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I
491 OrderAttributes oa = OrderAttributes.getOrderAttributes(buyerOrder.getAttributes()); 491 OrderAttributes oa = OrderAttributes.getOrderAttributes(buyerOrder.getAttributes());
492 String detailDesc = orderStatus.getDetailDesc(tabType,oa); 492 String detailDesc = orderStatus.getDetailDesc(tabType,oa);
493 if (Objects.nonNull(orderStatus) 493 if (Objects.nonNull(orderStatus)
494 - && (OrderStatus.BUYER_CANCEL_BEFORE_SELLER_DELIVER.equals(orderStatus)  
495 - || OrderStatus.BUYER_CANCEL_BEFORE_DEPOT_RECEIVE.equals(orderStatus))){ 494 + && (
  495 + OrderStatus.BUYER_CANCEL_BEFORE_SELLER_DELIVER.equals(orderStatus)
  496 + || OrderStatus.BUYER_CANCEL_BEFORE_DEPOT_RECEIVE.equals(orderStatus)
  497 + || OrderStatus.BUYER_CANCEL_BEFORE_DEPOT_RECEIVE_USE_DEPOSIT_GOODS.equals(orderStatus)
  498 + )
  499 + ){
496 double penaltyAmount = tradeBillsService.queryBuyerPenaltyAmount(buyerOrder.getOrderCode()); 500 double penaltyAmount = tradeBillsService.queryBuyerPenaltyAmount(buyerOrder.getOrderCode());
497 detailDesc = String.format(detailDesc, penaltyAmount); 501 detailDesc = String.format(detailDesc, penaltyAmount);
498 } 502 }