作者 tangxuhui
... ... @@ -75,9 +75,9 @@ func (srv PersonStatisticsService) IndexStatistics(cmd *command.IndexStatisticsC
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
}
dividendStatistics := map[string]interface{}{
"dividendAmount": annualDividend.Total, // 分红金额
"paidAmount": annualDividend.Paid, // 已支付
"unPaidAmount": annualDividend.Unpaid, // 未支付
"dividendAmount": annualDividend.Paid + annualDividend.Unpaid, // 分红金额 annualDividend.Total
"paidAmount": annualDividend.Paid, // 已支付
"unPaidAmount": annualDividend.Unpaid, // 未支付
}
return map[string]interface{}{
... ...