diff --git a/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/PrdMoTaskIssueListOutput.cs b/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/PrdMoTaskIssueListOutput.cs index 909bccff..c482babf 100644 --- a/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/PrdMoTaskIssueListOutput.cs +++ b/ProductionMgr/Tnb.ProductionMgr.Entities/Dto/PrdManage/PrdMoTaskIssueListOutput.cs @@ -48,5 +48,11 @@ namespace Tnb.ProductionMgr.Entities.Dto /// public string? f_flowid { get; set; } public string batch { get; set; } + + /// + /// 主表code + /// + public string mo_code { get; set; } + } } \ No newline at end of file diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs index ff3b6651..044c9244 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskIssueService.cs @@ -133,6 +133,7 @@ namespace Tnb.ProductionMgr reported_work_qty = a.reported_work_qty, scrap_qty = a.scrap_qty, batch = a.is_hand_set_batch==1 ? a.batch : "", + mo_code=f.mo_code }).OrderByDescending(a => a.create_time).ToPagedListAsync(input.currentPage, input.pageSize); List userIdList = result.list.Select(x => x.dayshift_worker_id).Distinct().ToList();