diff --git a/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs b/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs index bfda06a3..3e8e92e4 100644 --- a/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/TimeWorkService.cs @@ -290,7 +290,9 @@ namespace Tnb.ProductionMgr if (await _db.Queryable().AnyAsync(x => x.endlocation_id == equipment.upmat_location_id && x.biz_type == WmsWareHouseConst.BIZTYPE_WMSDELIVERY_ID && - x.status == WmsWareHouseConst.PRETASK_BILL_STATUS_DXF_ID)) + (x.status == WmsWareHouseConst.PRETASK_BILL_STATUS_DXF_ID + || x.status == WmsWareHouseConst.PRETASK_BILL_STATUS_YXF_ID) + )) { Log.Error($"{equipment.name}存在待下发的任务"); continue;