From 8024ec8c0300dcffa0caf4e2a030e068a9051bc2 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期四, 18 一月 2024 09:08:31 +0800
Subject: [PATCH] 1.ServiceStack.Redis 依赖包变更为StackExchange.Redis

---
 VueWebCoreApi/Controllers/GeneralBasicDataController.cs |   73 ++++++++++++++++++++++++++++++++++++
 1 files changed, 72 insertions(+), 1 deletions(-)

diff --git a/VueWebCoreApi/Controllers/GeneralBasicDataController.cs b/VueWebCoreApi/Controllers/GeneralBasicDataController.cs
index 75cc388..ef96945 100644
--- a/VueWebCoreApi/Controllers/GeneralBasicDataController.cs
+++ b/VueWebCoreApi/Controllers/GeneralBasicDataController.cs
@@ -15,7 +15,7 @@
     {
         //瀹氫箟鍏ㄥ眬淇℃伅杩斿洖鍙橀噺
         ToMessage mes = new ToMessage();
-        RedisHelper redis = new RedisHelper();
+        RedisCommon redis = new RedisCommon();
 
         #region[缁勭粐鏋舵瀯鍩虹璧勬枡]
         /// <summary>
@@ -27,6 +27,20 @@
         public JsonResult PrentOrganization()
         {
             mes = GeneralBasicDataBLL.PrentOrganization();
+            return Json(mes);
+        }
+        #endregion
+
+        #region[缁勭粐鏋舵瀯鍩虹璧勬枡(鏃犲叕鍙�)]
+        /// <summary>
+        /// 缁勭粐鏋舵瀯鍩虹璧勬枡(鏃犲叕鍙�)
+        /// </summary>
+        /// <returns></returns>
+        [Route(template: "PrentOrganizationNoCompany")]
+        [HttpGet]
+        public JsonResult PrentOrganizationNoCompany()
+        {
+            mes = GeneralBasicDataBLL.PrentOrganizationNoCompany();
             return Json(mes);
         }
         #endregion
@@ -183,6 +197,35 @@
         }
         #endregion
 
+        #region[浠撳簱搴撲綅鍩虹璧勬枡]
+        /// <summary>
+        /// 浠撳簱搴撲綅鍩虹璧勬枡
+        /// </summary>
+        /// <returns></returns>
+        [Route(template: "WareHouseLocation")]
+        [HttpGet]
+        public JsonResult WareHouseLocation()
+        {
+            mes = GeneralBasicDataBLL.WareHouseLocation();
+            return Json(mes);
+        }
+        #endregion
+
+        #region[浠撳簱鏌ユ壘浠撲綅淇℃伅]
+        /// <summary>
+        /// 浠撳簱鏌ユ壘浠撲綅淇℃伅
+        /// </summary>
+        /// <param name="warhousecode">浠撳簱缂栫爜</param>
+        /// <returns></returns>
+        [Route(template: "WareHouseSelectLocation")]
+        [HttpGet]
+        public JsonResult WareHouseSelectLocation(string warhousecode)
+        {
+            mes = GeneralBasicDataBLL.WareHouseSelectLocation(warhousecode);
+            return Json(mes);
+        }
+        #endregion
+
         #region[宸ュ簭鍩虹璧勬枡]
         /// <summary>
         /// 宸ュ簭鍩虹璧勬枡
@@ -234,5 +277,33 @@
             return Json(mes);
         }
         #endregion
+
+        #region[妯″叿妫�楠岄」鐩笅鎷夊垪琛╙
+        /// <summary>
+        /// 妯″叿妫�楠岄」鐩笅鎷夊垪琛�
+        /// </summary>
+        /// <returns></returns>
+        [Route(template: "MouldCheckItemSelect")]
+        [HttpGet]
+        public JsonResult MouldCheckItemSelect()
+        {
+            mes = GeneralBasicDataBLL.MouldCheckItemSelect();
+            return Json(mes);
+        }
+        #endregion
+
+        #region[妯″叿淇濆吇椤圭洰涓嬫媺鍒楄〃]
+        /// <summary>
+        /// 妯″叿淇濆吇椤圭洰涓嬫媺鍒楄〃
+        /// </summary>
+        /// <returns></returns>
+        [Route(template: "MouldRepairItemSelect")]
+        [HttpGet]
+        public JsonResult MouldRepairItemSelect()
+        {
+            mes = GeneralBasicDataBLL.MouldRepairItemSelect();
+            return Json(mes);
+        }
+        #endregion
     }
 }

--
Gitblit v1.9.3