From eae3d7dfc44e469e90315339dc63efd5a8c2389a Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期三, 28 五月 2025 17:17:16 +0800
Subject: [PATCH] 统计修改

---
 src/main/resources/mapper/DeviceStateMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/DeviceStateMapper.xml b/src/main/resources/mapper/DeviceStateMapper.xml
index 8dc0277..33a5492 100644
--- a/src/main/resources/mapper/DeviceStateMapper.xml
+++ b/src/main/resources/mapper/DeviceStateMapper.xml
@@ -5,6 +5,7 @@
     <select id="getDeviceStateStatistic" resultType="com.whyc.pojo.db_ram_db.DeviceState">
         select tb_device_state.*
               ,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.dev_name
+               ,tb_batt_inf.power_id,tb_batt_inf.station_id
             from  db_ram_db.tb_device_state,db_station.tb_station_inf,db_station.tb_batt_inf
         <where>
             tb_device_state.dev_id=tb_batt_inf.dev_id

--
Gitblit v1.9.1