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