Browse Source

安保测试统计

chenshudong 4 weeks ago
parent
commit
505ed20ba8

+ 3 - 3
airport-ledger/src/main/resources/mapper/ledger/LedgerSecurityTestMapper.xml

@@ -85,7 +85,7 @@
85
             and record_date <![CDATA[ < ]]> date_add(#{endDate} , interval 1 day))
85
             and record_date <![CDATA[ < ]]> date_add(#{endDate} , interval 1 day))
86
         </if>
86
         </if>
87
         group by problem_desc
87
         group by problem_desc
88
-        order by count desc
88
+        order by total desc
89
     </select>
89
     </select>
90
 
90
 
91
     <select id="securityTestPassingStatus"
91
     <select id="securityTestPassingStatus"
@@ -104,7 +104,7 @@
104
             and record_date <![CDATA[ < ]]> date_add(#{endDate} , interval 1 day))
104
             and record_date <![CDATA[ < ]]> date_add(#{endDate} , interval 1 day))
105
         </if>
105
         </if>
106
         group by test_result
106
         group by test_result
107
-        order by count desc
107
+        order by total desc
108
     </select>
108
     </select>
109
 
109
 
110
     <select id="securityTestRegion"
110
     <select id="securityTestRegion"
@@ -123,7 +123,7 @@
123
             and record_date <![CDATA[ < ]]> date_add(#{endDate} , interval 1 day))
123
             and record_date <![CDATA[ < ]]> date_add(#{endDate} , interval 1 day))
124
         </if>
124
         </if>
125
         group by region
125
         group by region
126
-        order by count desc
126
+        order by total desc
127
     </select>
127
     </select>
128
 
128
 
129
 </mapper>
129
 </mapper>