bug
This commit is contained in:
@@ -478,7 +478,7 @@ namespace Tnb.ProductionMgr
|
||||
// }
|
||||
|
||||
/// <summary>
|
||||
/// 定点配送
|
||||
/// 空载具定点配送
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
@@ -540,12 +540,13 @@ namespace Tnb.ProductionMgr
|
||||
Log.Error($"{equipment.name}未配置上料库位");
|
||||
continue;
|
||||
}
|
||||
if (await _db.Queryable<WmsPretaskH>().AnyAsync(x =>
|
||||
if (await _db.Queryable<WmsDistaskH>().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_YXF_ID
|
||||
|| x.status == WmsWareHouseConst.PRETASK_BILL_STATUS_START_ID
|
||||
(x.status == WmsWareHouseConst.TASK_BILL_STATUS_DZX_ID
|
||||
|| x.status == WmsWareHouseConst.TASK_BILL_STATUS_YXD_ID
|
||||
|| x.status == WmsWareHouseConst.TASK_BILL_STATUS_RUNING_ID
|
||||
|| x.status == WmsWareHouseConst.TASK_BILL_STATUS_PAUSE_ID
|
||||
)
|
||||
))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user