This commit is contained in:
2024-06-26 17:12:43 +08:00
parent 933744b618
commit 560465974a

View File

@@ -2509,6 +2509,10 @@ namespace Tnb.ProductionMgr
{
worklineIds = await db.Queryable<OrganizeEntity>().Where(x => x.ParentId == eqpId && x.Category == DictConst.RegionCategoryWorklineCode && x.DeleteMark == null).Select(x => x.Id).ToListAsync();
equipIds = await db.Queryable<EqpEquipment>().Where(x => x.equip_type_id == eqpId).Select(x => x.id).ToListAsync();
if (equipIds == null || equipIds.IsEmpty())
{
equipIds.Add(eqpId);
}
}
SqlSugarPagedList<WorkOrderAdjustmentListOutput> result = await db.Queryable<PrdMoTask>()