正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -268,7 +268,7 @@ func (d *TaskAnomalyDao) List2(userId int, companyId int, taskName string, categ | @@ -268,7 +268,7 @@ func (d *TaskAnomalyDao) List2(userId int, companyId int, taskName string, categ | ||
| 268 | sqlStr1 += ` and t_task.leader_id in (?) ` | 268 | sqlStr1 += ` and t_task.leader_id in (?) ` |
| 269 | } | 269 | } |
| 270 | condition = append(condition, limit, offset) | 270 | condition = append(condition, limit, offset) |
| 271 | - sqlStr1 += ` order by task.sort_by ,task_anomaly.id desc limit ? offset ? ` | 271 | + sqlStr1 += ` order by t_task.task_sort_by ,task_anomaly.id desc limit ? offset ? ` |
| 272 | 272 | ||
| 273 | result := []ListTaskAnomaly{} | 273 | result := []ListTaskAnomaly{} |
| 274 | tx := d.transactionContext.PgTx | 274 | tx := d.transactionContext.PgTx |
-
请 注册 或 登录 后发表评论