| Entites/DbModels/MesReporting.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Entites/Dto/OrderMachineDto.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Services/MesInvItemBarcodesManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Entites/DbModels/MesReporting.cs
@@ -150,13 +150,13 @@ /// 机台面板数 /// </summary> [SugarColumn(ColumnName = "JT_QTY")] public string? JtQty { get; set; } public decimal? JtQty { get; set; } /// <summary> /// 初始值 /// </summary> [SugarColumn(ColumnName = "CS_QTY")] public string? CsQty { get; set; } public decimal? CsQty { get; set; } [SugarColumn(IsIgnore = true)] public string? StaffName { get; set; } } Entites/Dto/OrderMachineDto.cs
@@ -32,4 +32,6 @@ public List<string>? OrderStatus { get; set; } // 新增:工单状态筛选 public string? staffNo { get; set; } // 新增:报工人员工号 public decimal? currentCjNum { get; set; } // 新增:报工时采集数 public decimal? initCjNum { get; set; } // 新增:初始采集数 } Services/MesInvItemBarcodesManager.cs
@@ -300,8 +300,10 @@ // BgPerson = strings[0], AddressCode = womdaa.AddressCode, MachineNo = womdaa.MachineNo, BfQty = query.bf, // OkQty = print, BfQty = query.bf,//不良数量 OkQty = query.currentCjNum - query.initCjNum - query.bf,//良品数量 CsQty = query.initCjNum,//初始采集数 JtQty = query.currentCjNum,//报工时采集数 ItemNo = womdaa.Daa002, BillNo = womdaa.Daa001, BgPerson = query.staffNo // 新增:报工人编号 @@ -363,8 +365,8 @@ // 更新报工记录 Db.Updateable<MesReporting>() .SetColumns(a => a.BlQty == BlQty.ToString()) .SetColumns(a => a.CsQty == anchors.InitialValue.ToString()) .SetColumns(a => a.JtQty == jt.ToString()) .SetColumns(a => a.CsQty == (anchors.InitialValue ?? 0)) .SetColumns(a => a.JtQty == jt) // .SetColumns(a => a.BfQty == bfQty) .SetColumns(a => a.CjQty == ljcj.ToString()) .SetColumns(a => a.DyQty == DyQty.ToString())