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