作者 yangfu

统计修改

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