diff --git a/Service/MyTask/BatteryMoveTask.cs b/Service/MyTask/BatteryMoveTask.cs index e328bc5..0171f24 100644 --- a/Service/MyTask/BatteryMoveTask.cs +++ b/Service/MyTask/BatteryMoveTask.cs @@ -48,8 +48,8 @@ public class BatteryMoveTask : ITask } List 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)