切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxvhui
2 years ago
提交
411e2af6d93395d9f7633c0e1c72a9679b1974cf
1 个父辈
9b8a211e
排除已删除的task
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
pkg/infrastructure/dao/task_dao.go
pkg/infrastructure/dao/task_dao.go
查看文件 @
411e2af
...
...
@@ -319,6 +319,7 @@ func (d *TaskDao) CountTaskStageAnomalyNotHrbp(param ListTaskCondition) (int, er
join t_task_1 on task.id =t_task_1.id
where 1=1
and task.company_id =?
and task.deleted_at isnull
and (
cast(COALESCE(task.current_stage ->>'plan_completed_at','0') as int)<floor(extract(epoch from now()))
or
...
...
@@ -352,6 +353,7 @@ func (d *TaskDao) CountTaskStageAnomalyByHrbp(param ListTaskCondition) (int, err
left join t_task_ignore on t_task_ignore.task_id=task.id
where 1=1
and task.company_id =?
and task.deleted_at isnull
and t_task_ignore.id isnull
and (
cast(COALESCE(task.current_stage ->>'plan_completed_at','0') as int)<floor(extract(epoch from now()))
...
...
@@ -657,6 +659,7 @@ func (d *TaskDao) ListTaskByHrbpV2(param ListTaskCondition) ([]ListTask, error)
from task
left join t_task_ignore on t_task_ignore.task_id=task.id
where 1=1 and t_task_ignore.id isnull and task.company_id=?
and task.deleted_at isnull
%s
),
t_task_1 as (
...
...
@@ -727,7 +730,7 @@ func (d *TaskDao) ListTaskNotHrbpV2(param ListTaskCondition) ([]ListTask, error)
task.created_at
from task
join t_task_1 on t_task_1.id=task.id
where 1=1 and task.company_id=?
where 1=1 and task.company_id=?
and task.deleted_at isnull
%s
),
tt_task_1 as (
...
...
请
注册
或
登录
后发表评论