This commit is contained in:
2024-09-10 17:55:24 +08:00
parent ea9d330724
commit 95958a96ed
3 changed files with 12 additions and 1 deletions

View File

@@ -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)