From 212b88f895dd636c3b0ff3ba9142c97212fd2797 Mon Sep 17 00:00:00 2001 From: shijianquan <992593080@qq.com> Date: Thu, 21 Aug 2025 10:05:44 +0800 Subject: [PATCH] =?UTF-8?q?[M]=E5=A2=9E=E5=8A=A0=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=BB=84=E6=8E=92=E5=BA=8F=E4=BC=98=E5=85=88=E6=8C=89rtu?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp b/product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp index 0668a061..92faed58 100644 --- a/product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp +++ b/product/src/gui/plugin/TrendCurves/CTrendInfoManage.cpp @@ -383,13 +383,13 @@ void CTrendInfoManage::loadDevGroupInfo(CDbApi *pReadDb) { return ; } - QString sqlSequenceQuery = QStringLiteral("select tag_name, description, location_id from dev_group where sub_system > 3 order by"); + QString sqlSequenceQuery = QStringLiteral("select tag_name, description, location_id from dev_group where sub_system > 3 order by "); if(!strLoctionFilter.isEmpty()) { - sqlSequenceQuery.append(QString(" %1 asc,dev_group_no asc,tag_name;").arg(strLoctionFilter)); + sqlSequenceQuery.append(QString(" rtu_no asc, %1 asc,dev_group_no asc,tag_name;").arg(strLoctionFilter)); }else { - sqlSequenceQuery.append(QStringLiteral(" dev_group_no asc,tag_name;")); + sqlSequenceQuery.append(QStringLiteral(" rtu_no asc, dev_group_no asc,tag_name;")); } query.setForwardOnly(true); pReadDb->execute(sqlSequenceQuery, query);