作者 yangfu

支付排行修改

@@ -16,6 +16,7 @@ func (srv PersonDividendsService) GetDividendContracts(cmd *command.GetDividendC @@ -16,6 +16,7 @@ func (srv PersonDividendsService) GetDividendContracts(cmd *command.GetDividendC
16 cmd.Operator) 16 cmd.Operator)
17 result, err := gateway.CooperationStatistics(allied_creation_cooperation.GetContractDividends, map[string]interface{}{ 17 result, err := gateway.CooperationStatistics(allied_creation_cooperation.GetContractDividends, map[string]interface{}{
18 "contractId": cmd.ContractId, 18 "contractId": cmd.ContractId,
  19 + "userBaseId": cmd.Operator.UserBaseId,
19 }) 20 })
20 if err != nil { 21 if err != nil {
21 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) 22 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
@@ -78,7 +78,7 @@ func (srv PersonCreditAccountService) PaymentHistoryStatistics(cmd *command.Cred @@ -78,7 +78,7 @@ func (srv PersonCreditAccountService) PaymentHistoryStatistics(cmd *command.Cred
78 gateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation( 78 gateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
79 cmd.Operator) 79 cmd.Operator)
80 queryOptions := map[string]interface{}{ 80 queryOptions := map[string]interface{}{
81 - "orgId": cmd.Operator.OrgId, 81 + //"orgId": cmd.Operator.OrgId,
82 "userBaseId": cmd.Operator.UserBaseId, 82 "userBaseId": cmd.Operator.UserBaseId,
83 "offset": cmd.PageNumber * cmd.PageSize, 83 "offset": cmd.PageNumber * cmd.PageSize,
84 "limit": cmd.PageSize, 84 "limit": cmd.PageSize,