From 0ecadf2d4500e018ef59c5d7c0eb3b23856580f0 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期一, 27 四月 2026 15:11:11 +0800
Subject: [PATCH] 调整 token自动刷新接口,解决token 无法自动刷新的问题

---
 WebAPI/Controllers/BaseSet/Gy_UnitController.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/WebAPI/Controllers/BaseSet/Gy_UnitController.cs b/WebAPI/Controllers/BaseSet/Gy_UnitController.cs
index 93d1113..0e2062e 100644
--- a/WebAPI/Controllers/BaseSet/Gy_UnitController.cs
+++ b/WebAPI/Controllers/BaseSet/Gy_UnitController.cs
@@ -49,11 +49,11 @@
                 }
 
                 string sql1 = string.Format(@"select * from h_v_Gy_UnitList where 缁勭粐鍚嶇О='" + Organization + "'");
-                if (oSystemParameter.omodel.WMS_CampanyName.Contains("鍥涚淮灏�"))
-                {
-                     sql1 = string.Format(@"select * from h_v_Gy_UnitList where 1=1 ");
+                //if (oSystemParameter.omodel.WMS_CampanyName.Contains("鍥涚淮灏�"))
+                //{
+                //     sql1 = string.Format(@"select * from h_v_Gy_UnitList where 1=1 ");
 
-                }
+                //}
                 if (sWhere == null || sWhere.Equals(""))
                 {
                     ds = oCN.RunProcReturn(sql1 + sWhere + "order by 璁¢噺鍗曚綅浠g爜 ", "h_v_Gy_UnitList");

--
Gitblit v1.9.1