正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -485,7 +485,7 @@ func (d *TaskDao) CountTaskAnomalyNotHrbp(param ListTaskCondition) (int, error) | @@ -485,7 +485,7 @@ func (d *TaskDao) CountTaskAnomalyNotHrbp(param ListTaskCondition) (int, error) | ||
| 485 | from task | 485 | from task |
| 486 | join t_task_1 on task.id =t_task_1.id | 486 | join t_task_1 on task.id =t_task_1.id |
| 487 | where 1=1 | 487 | where 1=1 |
| 488 | - and task.anomaly>1 and task.deleted_at isnull ` | 488 | + and task.anomaly>0 and task.deleted_at isnull ` |
| 489 | condition := []interface{}{} | 489 | condition := []interface{}{} |
| 490 | whereSql := `` | 490 | whereSql := `` |
| 491 | if param.OnlyMy { | 491 | if param.OnlyMy { |
| @@ -511,7 +511,7 @@ func (d *TaskDao) CountTaskAnomalyByHrbp(param ListTaskCondition) (int, error) { | @@ -511,7 +511,7 @@ func (d *TaskDao) CountTaskAnomalyByHrbp(param ListTaskCondition) (int, error) { | ||
| 511 | )select count(*) | 511 | )select count(*) |
| 512 | from task | 512 | from task |
| 513 | left join t_task_ignore on t_task_ignore.task_id=task.id | 513 | left join t_task_ignore on t_task_ignore.task_id=task.id |
| 514 | - where 1=1 and task.anomaly>1 and task.company_id=? and task.deleted_at isnull` | 514 | + where 1=1 and task.anomaly>0 and task.company_id=? and task.deleted_at isnull` |
| 515 | condition := []interface{}{param.UserId, param.CompanyId} | 515 | condition := []interface{}{param.UserId, param.CompanyId} |
| 516 | whereSql := `` | 516 | whereSql := `` |
| 517 | if param.OnlyMy { | 517 | if param.OnlyMy { |
-
请 注册 或 登录 后发表评论