|
@@ -378,6 +378,12 @@ public class SellOrderServiceImpl extends BaseServiceImpl<Integer, SellOrder> im
|
|
|
sellAmount.put("balance", order.getBalancePaymentAmount() == null ? BigDecimal.ZERO : order.getBalancePaymentAmount());
|
|
|
return sellAmount;
|
|
|
}
|
|
|
+ //乐器置换
|
|
|
+ if (order.getType().equals(OrderTypeEnum.REPLACEMENT)) {
|
|
|
+ sellAmount.put("actualAmount", order.getActualAmount());
|
|
|
+ sellAmount.put("balance", order.getBalancePaymentAmount() == null ? BigDecimal.ZERO : order.getBalancePaymentAmount());
|
|
|
+ return sellAmount;
|
|
|
+ }
|
|
|
|
|
|
//乐器维修
|
|
|
if (order.getType().equals(OrderTypeEnum.REPAIR)) {
|