|
@@ -207,7 +207,7 @@ func (OrderPaymentService *OrderPaymentService) ListDividendOrders(listOrderPaym |
|
@@ -207,7 +207,7 @@ func (OrderPaymentService *OrderPaymentService) ListDividendOrders(listOrderPaym |
207
|
item.StateOfPayment = "等待支付分红"
|
207
|
item.StateOfPayment = "等待支付分红"
|
208
|
}
|
208
|
}
|
209
|
if order.OrderActualAmount < order.OrderAmount {
|
209
|
if order.OrderActualAmount < order.OrderAmount {
|
210
|
- item.DividendSpending = utils.Decimal(order.OrderAmount - order.OrderActualAmount)
|
210
|
+ item.DividendSpending = utils.Decimal((order.OrderAmount - order.OrderActualAmount) * (order.PartnerBonusPercent / 100.0))
|
211
|
}
|
211
|
}
|
212
|
list = append(list, item)
|
212
|
list = append(list, item)
|
213
|
}
|
213
|
}
|