任务下发增加主表编码
This commit is contained in:
@@ -48,5 +48,11 @@ namespace Tnb.ProductionMgr.Entities.Dto
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string? f_flowid { get; set; }
|
public string? f_flowid { get; set; }
|
||||||
public string batch { get; set; }
|
public string batch { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 主表code
|
||||||
|
/// </summary>
|
||||||
|
public string mo_code { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -133,6 +133,7 @@ namespace Tnb.ProductionMgr
|
|||||||
reported_work_qty = a.reported_work_qty,
|
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 : "",
|
batch = a.is_hand_set_batch==1 ? a.batch : "",
|
||||||
|
mo_code=f.mo_code
|
||||||
}).OrderByDescending(a => a.create_time).ToPagedListAsync(input.currentPage, input.pageSize);
|
}).OrderByDescending(a => a.create_time).ToPagedListAsync(input.currentPage, input.pageSize);
|
||||||
|
|
||||||
List<string> userIdList = result.list.Select(x => x.dayshift_worker_id).Distinct().ToList();
|
List<string> userIdList = result.list.Select(x => x.dayshift_worker_id).Distinct().ToList();
|
||||||
|
|||||||
Reference in New Issue
Block a user