注塑挤出下发列表页显示批号

This commit is contained in:
2024-09-30 16:22:07 +08:00
parent eeaff193a2
commit 0ce27506cd
2 changed files with 3 additions and 1 deletions

View File

@@ -47,5 +47,6 @@ namespace Tnb.ProductionMgr.Entities.Dto
/// 物料型号
/// </summary>
public string? f_flowid { get; set; }
public string batch { get; set; }
}
}

View File

@@ -131,7 +131,8 @@ namespace Tnb.ProductionMgr
nightshift_worker_id = a.nightshift_worker_id,
nightshiftafter_worker_id = a.nightshiftafter_worker_id,
reported_work_qty = a.reported_work_qty,
scrap_qty = a.scrap_qty
scrap_qty = a.scrap_qty,
batch = a.is_hand_set_batch==1 ? a.batch : "",
}).OrderByDescending(a => a.create_time).ToPagedListAsync(input.currentPage, input.pageSize);
List<string> userIdList = result.list.Select(x => x.dayshift_worker_id).Distinct().ToList();