From be6878d11b51a3e72a83dcc9b1f8c0b0efd19096 Mon Sep 17 00:00:00 2001 From: xjl <2595686544@qq.com> Date: Sun, 30 Jun 2024 21:23:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=A1=E8=B6=B3=E6=8D=A2=E7=94=B5=E6=AC=A1?= =?UTF-8?q?=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Charger/ChargerService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/Charger/ChargerService.cs b/Service/Charger/ChargerService.cs index 0f016b6..e2fee6d 100644 --- a/Service/Charger/ChargerService.cs +++ b/Service/Charger/ChargerService.cs @@ -153,7 +153,7 @@ public class ChargerService if (binInfos.Count > 0) batteryStatusInfoResp.btyTotalCount = binInfos.Count(); List canSwapCounts = BinInfoRepository.QueryListByClause(i => - i.Exists == 1 && i.Status == 1 && i.Soc > Convert.ToDecimal(StaticStationInfo.SwapSoc) && i.ChargeStatus!=1); + i.Exists == 1 && i.Status == 1 && i.Soc >= Convert.ToDecimal(StaticStationInfo.SwapSoc) && i.ChargeStatus!=1); if (canSwapCounts.Count > 0) batteryStatusInfoResp.canSwapCount = canSwapCounts.Count(); List chargingCounts =