This commit is contained in:
2024-09-04 17:31:22 +08:00
parent b07f20845d
commit a4345646ca
8 changed files with 367 additions and 351 deletions

View File

@@ -18,6 +18,8 @@
public string mo_task_code { get; set; }
public string batch { get; set; }
public int? qty { get; set; }
public int? rqty { get; set; }
public string bill_code { get; set; }
public string equip_name { get; set; }
/// <summary>

View File

@@ -48,6 +48,11 @@ namespace Tnb.QcMgr.Entities
/// 合格数
/// </summary>
public int? qty { get; set; }
/// <summary>
/// 不合格数
/// </summary>
public int? rqty { get; set; }
/// <summary>
/// 状态

View File

@@ -108,6 +108,7 @@ namespace Tnb.QcMgr
mo_task_code = a.mo_task_code,
batch = a.batch,
qty = a.qty,
rqty = a.rqty,
material_standard = b.material_standard,
material_specification = b.material_specification,
equip_name = h.name,
@@ -344,6 +345,7 @@ namespace Tnb.QcMgr
}
await db.Ado.BeginTranAsync();
QcCheckExecH.qty = int.Parse(CheckTaskInput.checknum) - rqty;
QcCheckExecH.rqty = rqty;
_ = await db.Updateable(QcCheckExecH).ExecuteCommandAsync();
_ = await db.Deleteable(QcCheckExecDdel).ExecuteCommandAsync();
_ = await db.Insertable(QcCheckExecDinsert).ExecuteCommandAsync();