...
|
...
|
@@ -700,7 +700,13 @@ func (ptr *CooperationStatisticsService) PaymentHistoryHistogramStatistics(query |
|
|
}
|
|
|
queryOptions["paymentBeginTime"] = item.BeginTime
|
|
|
queryOptions["paymentEndTime"] = item.EndTime
|
|
|
if err := creditAccountDao.DividendsStatistics(queryOptions, dividends); err != nil {
|
|
|
if err := creditAccountDao.DividendsStatistics(map[string]interface{}{
|
|
|
"orgId": request.OrgId,
|
|
|
"userBaseId": request.UserBaseId,
|
|
|
"cooperationContractNumbers": contractNumbers,
|
|
|
"paymentBeginTime": item.BeginTime,
|
|
|
"paymentEndTime": item.EndTime,
|
|
|
}, dividends); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
values = append(values, dividends.Paid)
|
...
|
...
|
|