切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxvhui
2 years ago
提交
351f91f765f2e328ea7907bf5aeff6d0133133f0
1 个父辈
01a4c02b
master
...
dev-pushdata
dev-tangxvhui
dev-zhengzhou
test
v1.3.2-fix
v1.4.0
v2.2.0-fix
v2.2.0
v2.0.0
v1.3.2
v1.3.2-fix
调整sql
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
pkg/infrastructure/dao/task_dao.go
pkg/infrastructure/dao/task_dao.go
查看文件 @
351f91f
...
...
@@ -291,8 +291,8 @@ func (d *TaskDao) CountTaskAnomalyNotHrbp(param ListTaskCondition) (int, error)
from task
join t_task_1 on task.id =t_task_1.id
where 1=1
and task.anomaly>0 and task.deleted_at isnull `
condition
:=
[]
interface
{}{}
and task.anomaly>0 and company_id=? and task.deleted_at isnull `
condition
:=
[]
interface
{}{
param
.
CompanyId
}
whereSql
:=
``
if
param
.
OnlyMy
{
condition
=
append
(
condition
,
param
.
UserId
)
...
...
@@ -317,7 +317,7 @@ func (d *TaskDao) CountTaskAnomalyByHrbp(param ListTaskCondition) (int, error) {
)select count(*)
from task
left join t_task_ignore on t_task_ignore.task_id=task.id
where 1=1 and task.anomaly>0 and task.company_id=? and task.deleted_at isnull`
where 1=1 and task.anomaly>0 and task.company_id=? and
t_task_ignore.id isnull and
task.deleted_at isnull`
condition
:=
[]
interface
{}{
param
.
UserId
,
param
.
CompanyId
}
whereSql
:=
``
if
param
.
OnlyMy
{
...
...
请
注册
或
登录
后发表评论