电梯优化

This commit is contained in:
2024-08-26 09:39:00 +08:00
parent cf3d880f73
commit e2c3615e08
2 changed files with 10 additions and 2 deletions

View File

@@ -1918,10 +1918,11 @@ where carry_code = '{coderesult}' and status = '{WmsWareHouseConst.TASK_BILL_STA
async void ElevatorTaskExceptionHandle(object args)
{
if (s_elevatortask.CurrentCount == 0)
return;
try
{
if (s_elevatortask.CurrentCount == 0)
return;
await s_elevatortask.WaitAsync();
List<WmsDistaskH> elevatorTasks = db_ElevatorTaskExceptionHandle.Queryable<WmsDistaskH>()
.Where(r => r.startlocation_code.Contains("DT") && r.endlocation_code.Contains("DT") && r.act_start_date == null && r.act_end_date == null