正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -191,7 +191,7 @@ func (d *TaskAnomalyDao) List2(userId int, companyId int, taskName string, categ | @@ -191,7 +191,7 @@ func (d *TaskAnomalyDao) List2(userId int, companyId int, taskName string, categ | ||
191 | and t_task_ignore.id isnull | 191 | and t_task_ignore.id isnull |
192 | and task.deleted_at isnull | 192 | and task.deleted_at isnull |
193 | and task.leader ->>'id' in ( | 193 | and task.leader ->>'id' in ( |
194 | - select t_user.id::text from t_user where t_user."level">=? | 194 | + select t_user.id::text from t_user where t_user."level"=? |
195 | ) | 195 | ) |
196 | ) | 196 | ) |
197 | select | 197 | select |
@@ -255,7 +255,7 @@ func (d *TaskAnomalyDao) List2(userId int, companyId int, taskName string, categ | @@ -255,7 +255,7 @@ func (d *TaskAnomalyDao) List2(userId int, companyId int, taskName string, categ | ||
255 | and t_task_ignore.id isnull | 255 | and t_task_ignore.id isnull |
256 | and task.deleted_at isnull | 256 | and task.deleted_at isnull |
257 | and task.leader ->>'id' in ( | 257 | and task.leader ->>'id' in ( |
258 | - select t_user.id::text from t_user where t_user."level">=? | 258 | + select t_user.id::text from t_user where t_user."level"=? |
259 | ) | 259 | ) |
260 | ) | 260 | ) |
261 | select count(*) as cnt | 261 | select count(*) as cnt |
-
请 注册 或 登录 后发表评论