现场修改,自动移仓多加两个条件

master
xjl 5 months ago
parent bc9d3e64b7
commit 772f47c068

@ -48,8 +48,8 @@ public class BatteryMoveTask : ITask
}
List<BinInfo> queryListByClause =
_binInfoRepository.QueryListByClause(i => i.ChargeStatus == 4 && i.CacheBinFlag == 0 && i.Soc>=StaticStationInfo.SwapSoc,
"battery_enter_seq asc");
_binInfoRepository.QueryListByClause(i => i.ChargeStatus == 4 && i.CacheBinFlag == 0 && i.Soc>=StaticStationInfo.SwapSoc
&& i.AmtLock == 0 && i.Status == 1, "battery_enter_seq asc");
if (queryListByClause.Count <= 0)

Loading…
Cancel
Save