作者 tangxvhui

修复异常报错

@@ -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