From 3d5f4c312afcf27cd2a7de2e1af1852b719dda18 Mon Sep 17 00:00:00 2001 From: shijianquan <992593080@qq.com> Date: Mon, 29 Sep 2025 14:18:32 +0800 Subject: [PATCH] =?UTF-8?q?[M]=E5=8E=BB=E6=8E=89=E8=B6=8B=E5=8A=BF?= =?UTF-8?q?=E7=9A=84=E8=AE=BE=E5=A4=87=E7=BB=84id=20=E5=80=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp b/product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp index 0ce115b9..fc800afc 100644 --- a/product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp +++ b/product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp @@ -334,10 +334,10 @@ void CTrendInfoManage::loadDevGroupInfo(CDbApi *pReadDb) QString sqlSequenceQuery = QStringLiteral("select tag_name, description, location_id from dev_group where sub_system > 3 "); if(!strLoctionFilter.isEmpty()) { - sqlSequenceQuery.append(QString(" and %1 order by location_id , rtu_no , dev_group_no asc ,tag_name;").arg(strLoctionFilter)); + sqlSequenceQuery.append(QString(" and %1 order by location_id , rtu_no , dev_group_no ,tag_name;").arg(strLoctionFilter)); }else { - sqlSequenceQuery.append(QStringLiteral(" order by location_id , rtu_no , dev_group_no asc ,tag_name;")); + sqlSequenceQuery.append(QStringLiteral(" order by location_id , rtu_no , dev_group_no ,tag_name;")); } query.setForwardOnly(true); pReadDb->execute(sqlSequenceQuery, query);