正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -156,7 +156,7 @@ func (repository *NoticeSettingRepository) Find(queryOptions map[string]interfac | @@ -156,7 +156,7 @@ func (repository *NoticeSettingRepository) Find(queryOptions map[string]interfac | ||
156 | query.SetWhereByQueryOption("notice_setting.company_id=?", "companyId") | 156 | query.SetWhereByQueryOption("notice_setting.company_id=?", "companyId") |
157 | query.SetWhereByQueryOption("notice_setting.module_action_name like ?", "moduleActionName") | 157 | query.SetWhereByQueryOption("notice_setting.module_action_name like ?", "moduleActionName") |
158 | if v, ok := queryOptions["orgIds"]; ok { | 158 | if v, ok := queryOptions["orgIds"]; ok { |
159 | - query.WhereIn("notice_setting.orgId in (?)", v) | 159 | + query.WhereIn("notice_setting.org_id in (?)", v) |
160 | } | 160 | } |
161 | 161 | ||
162 | if count, err := query.SelectAndCount(); err != nil { | 162 | if count, err := query.SelectAndCount(); err != nil { |
-
请 注册 或 登录 后发表评论