From bb09b08f7ae3dd528f47d6c860e2a0abef7e6a6b Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期二, 09 八月 2022 16:06:31 +0800 Subject: [PATCH] 修改了快速生成条码模块条码生成方法 --- WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs b/WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs index 82236eb..501f383 100644 --- a/WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_EmployeeController.cs @@ -43,19 +43,19 @@ string sql1 = string.Format(@"select * from h_v_IF_EmployeeList where 缁勭粐鍚嶇О='" + Organization + "'"); if (sWhere == null || sWhere.Equals("")) { - ds = oCN.RunProcReturn(sql1 + sWhere + "order by HItemID desc", "h_v_IF_EmployeeList"); + ds = oCN.RunProcReturn(sql1 + sWhere + " order by 鑱屽憳浠g爜", "h_v_IF_EmployeeList"); } else { - string sql = sql1 + sWhere + "order by HItemID desc"; + string sql = sql1 + sWhere + " order by 鑱屽憳浠g爜"; ds = oCN.RunProcReturn(sql, "h_v_IF_EmployeeList"); } + objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = "Sucess锛�"; objJsonResult.data = ds.Tables[0]; return objJsonResult; - } catch (Exception e) { @@ -382,7 +382,6 @@ string HEmpRate = list[0].HEmpRate ?? ""; string HExamRate = list[0].HExamRate ?? ""; DateTime HHealthCardEDate = Convert.ToDateTime("1900/1/1"); - ////鍒ゆ柇鏉冮檺 //if (!ClsPub.Security_Log(msg5, 1, false, msg4)) //{ -- Gitblit v1.9.1