From 65af9227c2ec7ac93dfa237e635af334560fe198 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期二, 24 六月 2025 15:37:18 +0800
Subject: [PATCH] 同一修改计算容量时用标称容量

---
 src/main/java/com/whyc/service/LeaderHomeService.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/whyc/service/LeaderHomeService.java b/src/main/java/com/whyc/service/LeaderHomeService.java
index 8303293..cd0516d 100644
--- a/src/main/java/com/whyc/service/LeaderHomeService.java
+++ b/src/main/java/com/whyc/service/LeaderHomeService.java
@@ -1167,7 +1167,7 @@
             }
             Float moncapStd = battInf.getMoncapstd();
             int hourRate = BattCapFactory.GetHourRate(testInf.getTestCap(), testInf.getTestCurr());
-            Float groupRealCap = (float) BattCapFactory.GetMonomerCap(testInf.getTestCap(), hourRate, testInf.getTestCap(), testInf.getMaxMonvol(), testInf.getMinMonvol(), testInf.getGroupVol(), BattCapFactory.CapType_Real);
+            Float groupRealCap = (float) BattCapFactory.GetMonomerCap(battInf.getMoncapstd(), hourRate, testInf.getTestCap(), testInf.getMaxMonvol(), testInf.getMinMonvol(), testInf.getGroupVol(), BattCapFactory.CapType_Real);
             capInfo.setRealCap(groupRealCap);
             if (groupRealCap >= moncapStd * badValue) {
                 capInfo.setPerformance(BattCapperformanceEnum.BATTSTATE_1.getStateName());

--
Gitblit v1.9.1