作者 tangxvhui

调整sql,数据排序

... ... @@ -573,7 +573,7 @@ func (d *TaskDao) ListTaskByHrbpV2(param ListTaskCondition) ([]ListTask, error)
)select *
from t_task_1
order by t_task_1.status,
t_task_1.warn_flag,
t_task_1.warn_flag desc,
t_task_1.sort_by_1,
t_task_1.anomaly desc,
t_task_1.sort_by,t_task_1."created_at"
... ... @@ -658,7 +658,7 @@ func (d *TaskDao) ListTaskNotHrbpV2(param ListTaskCondition) ([]ListTask, error)
)select *
from tt_task_1
order by tt_task_1.status,
tt_task_1.warn_flag,
tt_task_1.warn_flag desc,
tt_task_1.sort_by_1,
tt_task_1.anomaly desc,
tt_task_1.sort_by,tt_task_1."created_at"
... ...