作者 Your Name

添加过滤条件,关联的组织

@@ -23,6 +23,7 @@ func (srv *CreditAccountService) ListCreditAccount(listQuery *query.ListCreditAc @@ -23,6 +23,7 @@ func (srv *CreditAccountService) ListCreditAccount(listQuery *query.ListCreditAc
23 CreditAccountOrderNum: listQuery.CreditAccountOrderNum, 23 CreditAccountOrderNum: listQuery.CreditAccountOrderNum,
24 ParticipatorName: listQuery.Participator, 24 ParticipatorName: listQuery.Participator,
25 CompanyId: listQuery.Operator.CompanyId, 25 CompanyId: listQuery.Operator.CompanyId,
  26 + OrgIds: listQuery.Operator.OrgIds,
26 }) 27 })
27 if err != nil { 28 if err != nil {
28 return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 29 return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
@@ -79,6 +79,7 @@ func (dividendsEstimateService *DividendsEstimateService) SearchDividendsEstimat @@ -79,6 +79,7 @@ func (dividendsEstimateService *DividendsEstimateService) SearchDividendsEstimat
79 PageNumber: searchDividendsEstimateQuery.PageNumber, 79 PageNumber: searchDividendsEstimateQuery.PageNumber,
80 PageSize: searchDividendsEstimateQuery.PageSize, 80 PageSize: searchDividendsEstimateQuery.PageSize,
81 CompanyId: searchDividendsEstimateQuery.Operator.CompanyId, 81 CompanyId: searchDividendsEstimateQuery.Operator.CompanyId,
  82 + OrgIds: searchDividendsEstimateQuery.Operator.OrgIds,
82 }) 83 })
83 if err != nil { 84 if err != nil {
84 return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 85 return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
@@ -47,6 +47,7 @@ type ( @@ -47,6 +47,7 @@ type (
47 PageSize int `json:"pageSize"` 47 PageSize int `json:"pageSize"`
48 CompanyId int64 `json:"companyId"` // 公司ID,通过集成REST上下文获取 48 CompanyId int64 `json:"companyId"` // 公司ID,通过集成REST上下文获取
49 OrgId int64 `json:"orgId"` // 组织机构ID 49 OrgId int64 `json:"orgId"` // 组织机构ID
  50 + OrgIds []int64 `json:"orgIds"` //用户关联的组织
50 UserId int64 `json:"userId"` // 用户ID, 51 UserId int64 `json:"userId"` // 用户ID,
51 UserBaseId int64 ` json:"userBaseId"` // 用户基础数据id 52 UserBaseId int64 ` json:"userBaseId"` // 用户基础数据id
52 } 53 }