From 5c0e055917e34df48eae19535ff51a38eb5bef1e Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期二, 27 五月 2025 16:13:43 +0800
Subject: [PATCH] 设备工作状态统计

---
 src/main/resources/mapper/BatttestdataInfMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/BatttestdataInfMapper.xml b/src/main/resources/mapper/BatttestdataInfMapper.xml
index 0dd9d60..2a04d22 100644
--- a/src/main/resources/mapper/BatttestdataInfMapper.xml
+++ b/src/main/resources/mapper/BatttestdataInfMapper.xml
@@ -3,7 +3,8 @@
 <mapper namespace="com.whyc.mapper.BatttestdataInfMapper">
 
     <select id="getBattTinfStatistic" resultType="com.whyc.pojo.db_batt_testdata.BatttestdataInf">
-        select tb_batttestdata_inf.*,tb_station_inf.station_name,tb_batt_inf.battgroup_name
+        select tb_batttestdata_inf.*
+             ,tb_station_inf.station_name,tb_station_inf.provice,tb_station_inf.city,tb_station_inf.country,tb_station_inf.full_name,tb_batt_inf.battgroup_name
         from db_batt_testdata.tb_batttestdata_inf,db_station.tb_station_inf,db_station.tb_batt_inf
         <where>
             tb_batttestdata_inf.battgroup_id=tb_batt_inf.battgroup_id
@@ -37,5 +38,6 @@
                 )
             </if>
         </where>
+        order by tb_batttestdata_inf.battgroup_id asc, tb_batttestdata_inf.test_record_count asc
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1