changed DataSourcePointCollection to order by ID

Merge branch 'develop'
pull/42/MERGE
13621160019@163.com 2021-06-01 14:34:14 +08:00
commit ebb18480c5
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()