This commit is contained in:
2024-06-26 18:19:55 +08:00
3 changed files with 10 additions and 1 deletions

View File

@@ -442,7 +442,7 @@ namespace Tnb.ProductionMgr
num = item.codeqty,
batch = item.code_batch,
unit_id = item.unit_id,
carry_id = carry.id,
carry_id = item.member_carryid,
barcode = item.barcode,
is_all_feeding = 0,
member_carry_id = item.member_carryid,

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>()