From 60e45197673d6e5a3eb2f61b45dc74f9f6d46424 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期一, 15 八月 2022 09:41:39 +0800 Subject: [PATCH] 1 --- WebAPI/Controllers/Sc_MouldRepairInBillListController.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs b/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs index a90c3b5..be692fd 100644 --- a/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs +++ b/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs @@ -3804,7 +3804,7 @@ } if (bResult) { - string sql = $"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "; + string sql =string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); oCn.RunProc(sql); objJsonResult.code = "0"; objJsonResult.count = 1; @@ -4214,7 +4214,7 @@ } if (bResult) { - string sql = $"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "; + string sql =string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); oCn.RunProc(sql); objJsonResult.code = "0"; objJsonResult.count = 1; @@ -4791,9 +4791,9 @@ } if (bResult) { - string sql = $"exec h_p_Sc_MouldProdBackBillList '{oBill.omodel.HBillNo}' "; + string sql =string.Format($"exec h_p_Sc_MouldProdBackBillList '{oBill.omodel.HBillNo}' ") ; oCn.RunProc(sql); - string sql1 = $"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "; + string sql1 =string.Format($"exec h_p_Sc_MouldChangeFileStatus 'in','{oBill.omodel.HInterID.ToString()}' "); oCn.RunProc(sql1); objJsonResult.code = "0"; objJsonResult.count = 1; @@ -5230,7 +5230,7 @@ } if (bResult) { - string sql = $"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "; + string sql =string.Format($"exec h_p_Sc_MouldChangeFileStatus 'out','{oBill.omodel.HInterID.ToString()}' "); oCn.RunProc(sql); objJsonResult.code = "0"; objJsonResult.count = 1; -- Gitblit v1.9.1