bug
This commit is contained in:
@@ -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();
|
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();
|
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>()
|
SqlSugarPagedList<WorkOrderAdjustmentListOutput> result = await db.Queryable<PrdMoTask>()
|
||||||
|
|||||||
Reference in New Issue
Block a user