This commit is contained in:
2024-08-22 14:08:16 +08:00
parent 4ce0a58715
commit 27e67dadf3
29 changed files with 758 additions and 184 deletions

View File

@@ -14,6 +14,11 @@
public string? tasktime { get; set; }
public string? exectime { get; set; }
public string? execuser { get; set; }
public string mo_task_code { get; set; }
public string batch { get; set; }
public int? qty { get; set; }
public string bill_code { get; set; }
}
public class CheckTaskOut
@@ -23,6 +28,15 @@
public string? workname { get; set; }
public string? wareid { get; set; }
public string? status { get; set; }
public string mo_task_code { get; set; }
public string material_id { get; set; }
public string material_code { get; set; }
public string material_name { get; set; }
public int checknum { get; set; }
public string worker_name { get; set; }
public string bill_code { get; set; }
public string carry_code { get; set; }
public List<CheckExecTypeOut>? checktypes { get; set; }
}
public class CheckExecTypeOut

View File

@@ -44,6 +44,17 @@ namespace Tnb.QcMgr.Entities
/// 生产次数
/// </summary>
public int? pronum { get; set; }
public string mo_task_code { get; set; }
public string carry_code { get; set; }
/// <summary>
/// 提报记录id
/// </summary>
public string report_id { get; set; }
public string check_type { get; set; }
public string batch { get; set; }
}

View File

@@ -106,7 +106,10 @@ namespace Tnb.QcMgr.Entities
/// </summary>
public string? checkindex { get; set; }
/// <summary>
/// 不合格数量
/// </summary>
public int qty { get; set; }
}

View File

@@ -43,6 +43,11 @@ namespace Tnb.QcMgr.Entities
/// 抽样数
/// </summary>
public string? checknum { get; set; }
/// <summary>
/// 合格数
/// </summary>
public int? qty { get; set; }
/// <summary>
/// 状态
@@ -93,5 +98,36 @@ namespace Tnb.QcMgr.Entities
/// 修改时间
/// </summary>
public DateTime? modify_time { get; set; }
/// <summary>
/// 单据编号
/// </summary>
public string bill_code { get; set; }
/// <summary>
/// 生产任务单编号
/// </summary>
public string mo_task_code { get; set; }
/// <summary>
/// 载具编号
/// </summary>
public string carry_code { get; set; }
/// <summary>
/// 提报记录id
/// </summary>
public string report_id { get; set; }
/// <summary>
/// 抽样方式
/// </summary>
public string check_type { get; set; }
/// <summary>
/// 备注
/// </summary>
public string remark { get; set; }
public string batch { get; set; }
}
}

View File

@@ -36,8 +36,12 @@ namespace Tnb.QcMgr.Entities.Enums
= 12,
[Remark("生产检", "按流转卡")]
= 13,
[Remark("零部件最终检验", "零部件最终检验事件")]
= 14
[Remark("零部件最终检验", "零部件最终检验")]
= 14,
[Remark("首检", "开工检")]
= 15,
[Remark("末检", "末检触发事件")]
= 16
}
public class RemarkAttribute : Attribute
{