From c0c2a91df6dd1ac910234200b4391911d22b93a0 Mon Sep 17 00:00:00 2001
From: lxw <810412026@qq.com>
Date: 星期一, 31 七月 2023 08:53:23 +0800
Subject: [PATCH] 修复bmd的bug

---
 src/main/java/com/whyc/service/BatttestdataInfService.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/whyc/service/BatttestdataInfService.java b/src/main/java/com/whyc/service/BatttestdataInfService.java
index 7ecebdd..13c958f 100644
--- a/src/main/java/com/whyc/service/BatttestdataInfService.java
+++ b/src/main/java/com/whyc/service/BatttestdataInfService.java
@@ -181,10 +181,10 @@
             allCap += cap;
             // and test_stoptype in (3, 4, 6)
             // or (test_stoptype=2 and test_timelong>=7200))
-            if ((binf.getTestStoptype() == 3 || binf.getTestStoptype() == 4 || binf.getTestStoptype() == 6) ||
+            /*if ((binf.getTestStoptype() == 3 || binf.getTestStoptype() == 4 || binf.getTestStoptype() == 6) ||
                     (binf.getTestStoptype() == 2 && binf.getTestTimelong() >= 7200)) {
-                sum++;
-            }
+            }*/
+            sum++;
         }
         if(sum!=0){
             avgCap=allCap/sum;//骞冲潎瀹归噺

--
Gitblit v1.9.1