Merge branch 'test' of http://gitlab.fjmaimaimai.com/allied-creation/allied-crea…
…tion-gateway into test # Conflicts: # pkg/port/beego/controllers/web_client/excel_data_controller.go
正在显示
4 个修改的文件
包含
15 行增加
和
12 行删除
@@ -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 { |
@@ -11,7 +11,7 @@ type SystemSettingController struct { | @@ -11,7 +11,7 @@ type SystemSettingController struct { | ||
11 | baseController | 11 | baseController |
12 | } | 12 | } |
13 | 13 | ||
14 | -func (controller SystemSettingController) SystemSettingSearch() { | 14 | +func (controller *SystemSettingController) SystemSettingSearch() { |
15 | systemSettingService := service.NewSystemSettingService(nil) | 15 | systemSettingService := service.NewSystemSettingService(nil) |
16 | settingListQuery := &query.SettingListQuery{} | 16 | settingListQuery := &query.SettingListQuery{} |
17 | err := controller.Unmarshal(settingListQuery) | 17 | err := controller.Unmarshal(settingListQuery) |
@@ -23,7 +23,7 @@ func (controller SystemSettingController) SystemSettingSearch() { | @@ -23,7 +23,7 @@ func (controller SystemSettingController) SystemSettingSearch() { | ||
23 | controller.Response(data, err) | 23 | controller.Response(data, err) |
24 | } | 24 | } |
25 | 25 | ||
26 | -func (controller SystemSettingController) SystemSettingGet() { | 26 | +func (controller *SystemSettingController) SystemSettingGet() { |
27 | systemSettingService := service.NewSystemSettingService(nil) | 27 | systemSettingService := service.NewSystemSettingService(nil) |
28 | q := &query.SettingGetQuery{} | 28 | q := &query.SettingGetQuery{} |
29 | err := controller.Unmarshal(q) | 29 | err := controller.Unmarshal(q) |
@@ -36,7 +36,7 @@ func (controller SystemSettingController) SystemSettingGet() { | @@ -36,7 +36,7 @@ func (controller SystemSettingController) SystemSettingGet() { | ||
36 | 36 | ||
37 | } | 37 | } |
38 | 38 | ||
39 | -func (controller SystemSettingController) SystemSettingUpdate() { | 39 | +func (controller *SystemSettingController) SystemSettingUpdate() { |
40 | systemSettingService := service.NewSystemSettingService(nil) | 40 | systemSettingService := service.NewSystemSettingService(nil) |
41 | q := &command.SettingUpdateCommand{} | 41 | q := &command.SettingUpdateCommand{} |
42 | err := controller.Unmarshal(q) | 42 | err := controller.Unmarshal(q) |
-
请 注册 或 登录 后发表评论