任务下发增加主表编码

This commit is contained in:
2024-10-18 11:40:38 +08:00
parent feb34c0938
commit abe6bd70b3
2 changed files with 7 additions and 0 deletions

View File

@@ -48,5 +48,11 @@ namespace Tnb.ProductionMgr.Entities.Dto
/// </summary>
public string? f_flowid { get; set; }
public string batch { get; set; }
/// <summary>
/// 主表code
/// </summary>
public string mo_code { get; set; }
}
}

View File

@@ -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<string> userIdList = result.list.Select(x => x.dayshift_worker_id).Distinct().ToList();