From 766ca8c6bfe27bc5d025ebf04ccdfb807ea65662 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期五, 27 五月 2022 19:13:56 +0800 Subject: [PATCH] 完善 --- WebAPI/Controllers/BaseSet/Gy_CustomerController.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs b/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs index ac746cc..5f65cea 100644 --- a/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs @@ -41,13 +41,14 @@ string sql1 = string.Format(@"select * from h_v_Gy_CustomerList where 缁勭粐鍚嶇О='" + Organization + "'"); if (sWhere == null || sWhere.Equals("")) { - ds = oCN.RunProcReturn(sql1 + sWhere + " order by HItemID desc", "h_v_Gy_CustomerList"); + ds = oCN.RunProcReturn(sql1 + sWhere + " order by 瀹㈡埛浠g爜 ", "h_v_Gy_CustomerList"); } else { - string sql = sql1 + sWhere + " order by HItemID desc"; + string sql = sql1 + sWhere + " order by 瀹㈡埛浠g爜 "; ds = oCN.RunProcReturn(sql, "h_v_Gy_CustomerList"); } + objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = "Sucess锛�"; -- Gitblit v1.9.1