From 547436626cfe9cb01ae95b0bde9886b9cf46a9f2 Mon Sep 17 00:00:00 2001
From: qinchulong <qinchulong@hnkhzn.com>
Date: 星期日, 02 三月 2025 23:51:05 +0800
Subject: [PATCH] 第一版完成

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/BatchController.cs |   37 ++++++++++++++++++++++++++++++++++++-
 1 files changed, 36 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/BatchController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/BatchController.cs"
index fbbf1a4..86e5a9f 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/BatchController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/BatchController.cs"
@@ -1,4 +1,6 @@
-锘縰sing Microsoft.AspNetCore.Mvc;
+锘縰sing Autofac.Core;
+using Microsoft.AspNetCore.Mvc;
+using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseController;
 using WIDESEAWCS_Core.Caches;
 using WIDESEAWCS_ISystemServices;
@@ -16,5 +18,38 @@
         {
             _httpContextAccessor = httpContextAccessor;
         }
+
+        /// <summary>
+        /// 淇敼鍏ュ簱鎵规淇℃伅
+        /// </summary>
+        /// <param name="batch"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("UpdateInBatch")]
+        public WebResponseContent UpdateInBatch(string batch)
+        {
+            return Service.UpdateInBatch(batch);
+        }
+
+        /// <summary>
+        /// 淇敼鍑哄簱鎵规淇℃伅
+        /// </summary>
+        /// <param name="batch"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("UpdateOutBatch")]
+        public WebResponseContent UpdateOutBatch(string batch)
+        {
+            return Service.UpdateOutBatch(batch);
+        }
+
+        /// <summary>
+        /// 淇敼鍑哄簱鐗╂枡淇℃伅锛岄渶瑕佸嚭澶栬喘杩樻槸鑷骇 0涓嶅嚭搴�   1鍑哄簱
+        /// </summary>
+        /// <param name="batch"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("UpdateOutStorageMode")]
+        public WebResponseContent UpdateOutStorageMode(int mode)
+        {
+            return Service.UpdateOutStorageMode(mode);
+        }
     }
 }

--
Gitblit v1.9.3