From 2753ad7aee272a5a5a8a0124b1feea5a1e4cc83e Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期五, 20 六月 2025 22:40:52 +0800
Subject: [PATCH] 电源告警参数返回

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

diff --git a/src/main/resources/mapper/BatttestdataInfMapper.xml b/src/main/resources/mapper/BatttestdataInfMapper.xml
index 08b829c..56b6323 100644
--- a/src/main/resources/mapper/BatttestdataInfMapper.xml
+++ b/src/main/resources/mapper/BatttestdataInfMapper.xml
@@ -44,8 +44,9 @@
     <select id="getNoDischargeData" resultType="com.whyc.pojo.db_batt_testdata.BatttestdataInf">
         select * from db_batt_testdata.tb_batttestdata_inf
         <where>
-            battgroup_id=#{battgroupId} and test_type=3
-            and (test_starttype!=3 or test_timelong &lt;7200)
+            battgroup_id=#{battgroupId}
+            and test_type=3
+            and  data_available!=1
             <if test="testStartTime!=null">
                 and tb_batttestdata_inf.test_starttime>=#{stic.testStartTime}
             </if>

--
Gitblit v1.9.1