正在显示
3 个修改的文件
包含
12 行增加
和
9 行删除
@@ -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()) |
@@ -40,15 +40,16 @@ type ( | @@ -40,15 +40,16 @@ type ( | ||
40 | //查询分红预算单 | 40 | //查询分红预算单 |
41 | type ( | 41 | type ( |
42 | ReqDividendsEstimateSearch struct { | 42 | ReqDividendsEstimateSearch struct { |
43 | - DividendsEstimateOrderNumber string `json:"dividendsEstimateOrderNumber"` //承接人分红预算单号 | ||
44 | - CooperationContractNumber string `json:"orderOrReturnedOrderNum"` //合约编号 | ||
45 | - DividendsType int `json:"dividendsType"` //分红类型,1订单分红,2退货冲销,3金额激励 | ||
46 | - PageNumber int `json:"pageNumber"` | ||
47 | - PageSize int `json:"pageSize"` | ||
48 | - CompanyId int64 `json:"companyId"` // 公司ID,通过集成REST上下文获取 | ||
49 | - OrgId int64 `json:"orgId"` // 组织机构ID | ||
50 | - UserId int64 `json:"userId"` // 用户ID, | ||
51 | - UserBaseId int64 ` json:"userBaseId"` // 用户基础数据id | 43 | + DividendsEstimateOrderNumber string `json:"dividendsEstimateOrderNumber"` //承接人分红预算单号 |
44 | + CooperationContractNumber string `json:"orderOrReturnedOrderNum"` //合约编号 | ||
45 | + DividendsType int `json:"dividendsType"` //分红类型,1订单分红,2退货冲销,3金额激励 | ||
46 | + PageNumber int `json:"pageNumber"` | ||
47 | + PageSize int `json:"pageSize"` | ||
48 | + CompanyId int64 `json:"companyId"` // 公司ID,通过集成REST上下文获取 | ||
49 | + OrgId int64 `json:"orgId"` // 组织机构ID | ||
50 | + OrgIds []int64 `json:"orgIds"` //用户关联的组织 | ||
51 | + UserId int64 `json:"userId"` // 用户ID, | ||
52 | + UserBaseId int64 ` json:"userBaseId"` // 用户基础数据id | ||
52 | } | 53 | } |
53 | 54 | ||
54 | DataDividendsEstimateSearch struct { | 55 | DataDividendsEstimateSearch struct { |
-
请 注册 或 登录 后发表评论