作者 yangfu

统计修改

... ... @@ -424,7 +424,11 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st
if err := dividendsEstimateDao.DividendsEstimateStatistics(queryOptions, allDividendsEstimate); err != nil {
return nil, err
}
if err := creditAccountDao.DividendsStatistics(queryOptions, allDividends); err != nil {
if err := creditAccountDao.DividendsStatistics(map[string]interface{}{
"companyId": request.CompanyId,
"orgId": request.OrgId,
"userBaseId": request.UserBaseId,
}, allDividends); err != nil {
return nil, err
}
allDividendsEstimate.Paid = allDividends.Paid
... ...