|
@@ -50,7 +50,7 @@ func GetExcelChartDataByExcelInfoId(excelInfoId int) (list []*ExcelChartData, er
|
|
|
sql := ` SELECT *
|
|
|
FROM excel_chart_data
|
|
|
WHERE excel_info_id=?
|
|
|
- ORDER BY excel_chart_edb_id ASC, excel_chart_data_id ASC `
|
|
|
+ ORDER BY excel_chart_edb_id ASC, data_time desc, excel_chart_data_id ASC `
|
|
|
_, err = o.Raw(sql, excelInfoId).QueryRows(&list)
|
|
|
return
|
|
|
}
|