From 772f47c06875d9ccd831dd335a323bbeb765d8e3 Mon Sep 17 00:00:00 2001 From: xjl <2595686544@qq.com> Date: Sat, 29 Jun 2024 21:02:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E4=BF=AE=E6=94=B9=EF=BC=8C?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=A7=BB=E4=BB=93=E5=A4=9A=E5=8A=A0=E4=B8=A4?= =?UTF-8?q?=E4=B8=AA=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/MyTask/BatteryMoveTask.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)