changed GET Data Source Point Collection to order by ID

pull/42/MERGE
13621160019@163.com 2021-06-01 14:31:08 +08:00
parent 1cbba232c2
commit 043dacfe24
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ class DataSourcePointCollection:
" units, high_limit, low_limit, ratio, is_trend, is_virtual, address, description "
" FROM tbl_points "
" WHERE data_source_id = %s "
" ORDER BY name ")
" ORDER BY id ")
cursor.execute(query_point, (id_,))
rows_point = cursor.fetchall()