From 95f65190334bd1baaebe0e6a7312a06b660cd4d1 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期三, 15 五月 2024 10:46:04 +0800 Subject: [PATCH] 优化 --- WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs index 4693446..449d356 100644 --- a/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs +++ b/WebAPI/Controllers/CJGL/Cj_StationOutBillController.cs @@ -2356,7 +2356,8 @@ oCn.BeginTran(); - oCn.RunProc("delete from Sc_StationOutBillSub_SN where HInterID="+ HInterID+ " and HBarCode='"+ HBardcode + "'"); + oCn.RunProc("delete from Sc_StationOutBillSub_SN where HInterID=" + HInterID + " and HBarCode='" + HBardcode + "'"); + oCn.RunProc("update Sc_StationOutBillMain set HQty-=1 where HInterID=" + HInterID); oCn.Commit(); -- Gitblit v1.9.1