作者 yangfu

合约分红统计修改

@@ -428,6 +428,7 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st @@ -428,6 +428,7 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st
428 "companyId": request.CompanyId, 428 "companyId": request.CompanyId,
429 "orgId": request.OrgId, 429 "orgId": request.OrgId,
430 "userBaseId": request.UserBaseId, 430 "userBaseId": request.UserBaseId,
  431 + "cooperationContractNumbers": contractNumbers,
431 }, allDividends); err != nil { 432 }, allDividends); err != nil {
432 return nil, err 433 return nil, err
433 } 434 }
@@ -444,6 +445,7 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st @@ -444,6 +445,7 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st
444 "userBaseId": request.UserBaseId, 445 "userBaseId": request.UserBaseId,
445 "paymentBeginTime": queryOptions["beginTime"], 446 "paymentBeginTime": queryOptions["beginTime"],
446 "paymentEndTime": queryOptions["endTime"], 447 "paymentEndTime": queryOptions["endTime"],
  448 + "cooperationContractNumbers": contractNumbers,
447 }, annualDividends); err != nil { 449 }, annualDividends); err != nil {
448 return nil, err 450 return nil, err
449 } 451 }
@@ -459,6 +461,7 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st @@ -459,6 +461,7 @@ func (ptr *CooperationStatisticsService) DividendsStatistics(queryOptions map[st
459 "userBaseId": request.UserBaseId, 461 "userBaseId": request.UserBaseId,
460 "paymentBeginTime": queryOptions["beginTime"], 462 "paymentBeginTime": queryOptions["beginTime"],
461 "paymentEndTime": queryOptions["endTime"], 463 "paymentEndTime": queryOptions["endTime"],
  464 + "cooperationContractNumbers": contractNumbers,
462 }, quarterDividends); err != nil { 465 }, quarterDividends); err != nil {
463 return nil, err 466 return nil, err
464 } 467 }