...
|
...
|
@@ -156,7 +156,7 @@ func (repository *NoticeSettingRepository) Find(queryOptions map[string]interfac |
|
|
query.SetWhereByQueryOption("notice_setting.company_id=?", "companyId")
|
|
|
query.SetWhereByQueryOption("notice_setting.module_action_name like ?", "moduleActionName")
|
|
|
if v, ok := queryOptions["orgIds"]; ok {
|
|
|
query.WhereIn("notice_setting.orgId in (?)", v)
|
|
|
query.WhereIn("notice_setting.org_id in (?)", v)
|
|
|
}
|
|
|
|
|
|
if count, err := query.SelectAndCount(); err != nil {
|
...
|
...
|
|