bug
This commit is contained in:
@@ -9,6 +9,15 @@
|
||||
public string code { get; set; }
|
||||
public string name { get; set; }
|
||||
public string material_group { get; set; }
|
||||
/// <summary>
|
||||
/// 物料规格
|
||||
/// </summary>
|
||||
public string? material_specification { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料型号
|
||||
/// </summary>
|
||||
public string? material_standard { get; set; }
|
||||
public int real_cavity_qty { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace Tnb.EquipMgr
|
||||
code = a.code,
|
||||
name = a.name,
|
||||
material_group = b.material_group,
|
||||
material_specification = a.material_specification,
|
||||
material_standard = a.material_standard,
|
||||
real_cavity_qty = b.real_cavity_qty.HasValue ? b.real_cavity_qty.Value : 0
|
||||
}).ToListAsync();
|
||||
return list;
|
||||
|
||||
@@ -350,7 +350,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.Updateable(QcCheckExecH).ExecuteCommandAsync();
|
||||
await db.Updateable<QcCheckExecH>()
|
||||
.SetColumns(x => x.checknum == QcCheckExecH.checknum)
|
||||
.SetColumns(x => x.status == QcCheckExecH.status)
|
||||
|
||||
Reference in New Issue
Block a user