From 8fc0241701fbc1e942064576d02458921bde9388 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 19 二月 2025 09:48:19 +0800
Subject: [PATCH] 运维监控报表接口统计sql重新编写

---
 ycl-server/src/main/resources/mapper/zgyw/CheckRuleMapper.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckRuleMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckRuleMapper.xml
index 3b178cd..4245c27 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CheckRuleMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CheckRuleMapper.xml
@@ -37,6 +37,8 @@
             <if test="state != null "> and state = #{state}</if>
             <if test="deleted != null  and deleted != ''"> and deleted = #{deleted}</if>
         </where>
+        ORDER BY
+            order_num
     </select>
 
     <select id="selectCheckRuleById"  resultMap="CheckRuleResult">

--
Gitblit v1.8.0