...
|
...
|
@@ -191,7 +191,7 @@ func (d *TaskAnomalyDao) List2(userId int, companyId int, taskName string, categ |
|
|
and t_task_ignore.id isnull
|
|
|
and task.deleted_at isnull
|
|
|
and task.leader ->>'id' in (
|
|
|
select t_user.id::text from t_user where t_user."level">=?
|
|
|
select t_user.id::text from t_user where t_user."level"=?
|
|
|
)
|
|
|
)
|
|
|
select
|
...
|
...
|
@@ -255,7 +255,7 @@ func (d *TaskAnomalyDao) List2(userId int, companyId int, taskName string, categ |
|
|
and t_task_ignore.id isnull
|
|
|
and task.deleted_at isnull
|
|
|
and task.leader ->>'id' in (
|
|
|
select t_user.id::text from t_user where t_user."level">=?
|
|
|
select t_user.id::text from t_user where t_user."level"=?
|
|
|
)
|
|
|
)
|
|
|
select count(*) as cnt
|
...
|
...
|
|