选包soc 修改成>=

zw
lxw 6 months ago
parent 072017a12d
commit 064cdef4f8

@ -44,7 +44,7 @@ public class BinInfoRepository : BaseRepository<BinInfo>
} }
list = list.Where(i => i.Soc != null && i.Soc > swapSoc).ToList(); list = list.Where(i => i.Soc != null && i.Soc >= swapSoc).ToList();
if (list.Count <= 0 && cacheBinBattery == null) if (list.Count <= 0 && cacheBinBattery == null)
{ {
selectPackDto.Info = InfoEnum.SelectBinStatusInfo.LessOfSoc; selectPackDto.Info = InfoEnum.SelectBinStatusInfo.LessOfSoc;

Loading…
Cancel
Save