作者 tangxuhui

修复,数据库字段不对应

@@ -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 {