Merge branch 'dev' of http://gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway into dev
# Conflicts: # pkg/application/web/noticesetting/service/notice_setting.go
正在显示
2 个修改的文件
包含
6 行增加
和
4 行删除
@@ -27,11 +27,11 @@ func (noticeSettingService *NoticeSettingService) NoticeSettingList(noticeSettin | @@ -27,11 +27,11 @@ func (noticeSettingService *NoticeSettingService) NoticeSettingList(noticeSettin | ||
27 | var orgIds []int | 27 | var orgIds []int |
28 | if len(noticeSettingListQuery.OrgName) > 0 { | 28 | if len(noticeSettingListQuery.OrgName) > 0 { |
29 | orgResult, err := creationUserGateway.OrgSearch(allied_creation_user.ReqOrgSearch{ | 29 | orgResult, err := creationUserGateway.OrgSearch(allied_creation_user.ReqOrgSearch{ |
30 | - Offset: 1, | ||
31 | - Limit: 20, | ||
32 | - CompanyId: int(noticeSettingListQuery.Operator.CompanyId), | 30 | + Offset: 1, |
31 | + Limit: 20, | ||
32 | + CompanyId: int(noticeSettingListQuery.Operator.CompanyId), | ||
33 | IsOrg: 0, | 33 | IsOrg: 0, |
34 | - DepName: noticeSettingListQuery.OrgName, | 34 | + MatchOrgName: noticeSettingListQuery.OrgName, |
35 | }) | 35 | }) |
36 | if err != nil { | 36 | if err != nil { |
37 | if err != nil { | 37 | if err != nil { |
@@ -116,6 +116,8 @@ type ( | @@ -116,6 +116,8 @@ type ( | ||
116 | Offset int `json:"offset"` | 116 | Offset int `json:"offset"` |
117 | OrgCode string `json:"orgCode"` | 117 | OrgCode string `json:"orgCode"` |
118 | ParentId int `json:"parentId"` | 118 | ParentId int `json:"parentId"` |
119 | + // 模糊匹配组织名称 | ||
120 | + MatchOrgName string `cname:"部门名称" json:"matchOrgName,omitempty"` | ||
119 | } | 121 | } |
120 | 122 | ||
121 | DataOrgSearch struct { | 123 | DataOrgSearch struct { |
-
请 注册 或 登录 后发表评论