修改电池状态信息

master
lch 6 months ago
parent 6e66601ef1
commit 60c439c421

@ -150,6 +150,6 @@ public class ChargerService
List<BinInfo> chargingCounts = BinInfoRepository.QueryListByClause(i => i.Exists == 1 && i.Status == 1&&i.ChargeStatus==1);
if(chargingCounts.Count>0)
batteryStatusInfoResp.chargingCount = chargingCounts.Count();
return Result<BatteryStatusInfoResp>.Fail();
return Result<BatteryStatusInfoResp>.Success(batteryStatusInfoResp);
}
}
Loading…
Cancel
Save