From d5d413bc8926c46601ad917a5b085d4339e3ccd1 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期四, 30 五月 2024 10:42:49 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs index 1749b6c..546c3bd 100644 --- a/WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs +++ b/WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs @@ -535,7 +535,7 @@ /// </summary> [Route("Sc_MouldLifeUseReport/GetSc_MouldLifeUseReport")] [HttpGet] - public object GetSc_MouldLifeUseReport(string sWhere, string user, string userid) + public object GetSc_MouldLifeUseReport(string sWhere, string user) { try { @@ -554,12 +554,12 @@ //鏌ヨ if (sWhere == null || sWhere.Equals("")) { - string sql = "exec h_p_Sc_MouldLifeUseReport '','" + userid + "'"; + string sql = "exec h_p_Sc_MouldLifeUseReport ''"; ds = oCN.RunProcReturn(sql, "h_p_Sc_MouldLifeUseReport"); } else { - string sql = "exec h_p_Sc_MouldLifeUseReport '" + sWhere + "','" + userid + "'"; + string sql = "exec h_p_Sc_MouldLifeUseReport '" + sWhere + "'"; ds = oCN.RunProcReturn(sql, "h_p_Sc_MouldLifeUseReport"); } -- Gitblit v1.9.1