From 1181f9f764b14abd6e9f598f89f8507b4bbfad0d Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 09 三月 2026 09:47:10 +0800
Subject: [PATCH] 设置登录默认值;添加数据传输对象;更新服务器作业

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs |   87 +++++++++++++++++++++++++++++++++++++++----
 1 files changed, 78 insertions(+), 9 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs
index c62202f..596e36e 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs
@@ -1,13 +1,7 @@
-锘縰sing HslCommunication.WebSocket;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
+锘縰sing Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Mvc;
-using System.Collections.Generic;
-using WIDESEA_Common.CommonEnum;
-using WIDESEA_Common.LocationEnum;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
-using WIDESEA_Core.Enums;
 using WIDESEA_DTO.Basic;
 using WIDESEA_IBasicService;
 using WIDESEA_Model.Models;
@@ -25,6 +19,81 @@
         {
         }
 
-       
+        /// <summary>
+        /// 鍒濆鍖栬揣浣�
+        /// </summary>
+        /// <param name="locationInfoByTypeDto"></param>
+        /// <returns></returns>
+        [HttpGet, HttpPost, Route("InitializationLocation"), AllowAnonymous]
+        public async Task<WebResponseContent?> InitializationLocation([FromBody] InitializationLocationDTO locationInfoByTypeDto)
+        {
+            return Service.InitializationLocation(locationInfoByTypeDto);
+        }
+
+        /// <summary>
+        /// 鎵归噺绂佺敤璐т綅
+        /// </summary>
+        /// <param name="keys"></param>
+        /// <returns></returns>
+        [HttpGet, HttpPost, Route("LocationDisableStatus"), AllowAnonymous]
+        public async Task<WebResponseContent?> LocationDisableStatus([FromBody] int[] keys)
+        {
+            return Service.LocationDisableStatus(keys);
+        }
+
+        /// <summary>
+        /// 鎵归噺鍚敤璐т綅
+        /// </summary>
+        /// <param name="keys"></param>
+        /// <returns></returns>
+        [HttpGet, HttpPost, Route("LocationEnableStatus"), AllowAnonymous]
+        public async Task<WebResponseContent?> LocationEnableStatus([FromBody] int[] keys)
+        {
+            return Service.LocationEnableStatus(keys);
+        }
+
+        /// <summary>
+        /// 绂佺敤鍗曚釜璐т綅
+        /// </summary>
+        /// <param name="key"></param>
+        /// <returns></returns>
+        [HttpGet, HttpPost, Route("LocationOneDisableStatus"), AllowAnonymous]
+        public async Task<WebResponseContent?> LocationDisableStatus([FromBody] int key)
+        {
+            return Service.LocationDisableStatus(key);
+        }
+
+        /// <summary>
+        /// 鍚敤鍗曚釜璐т綅
+        /// </summary>
+        /// <param name="key"></param>
+        /// <returns></returns>
+        [HttpGet, HttpPost, Route("LocationOneEnableStatus"), AllowAnonymous]
+        public async Task<WebResponseContent?> LocationEnableStatus([FromBody] int key)
+        {
+            return Service.LocationEnableStatus(key);
+        }
+
+        /// <summary>
+        /// 鑾峰彇璐т綅淇℃伅
+        /// </summary>
+        /// <param name="roadwayNo"></param>
+        /// <returns></returns>
+        [HttpGet, HttpPost, Route("GetLocationInfo"), AllowAnonymous]
+        public async Task<Dt_LocationInfo?> GetLocationInfo([FromBody] string roadwayNo)
+        {
+            return await Service.GetLocationInfo(roadwayNo);
+        }
+
+        /// <summary>
+        /// 绉诲簱妫�鏌ワ細妫�鏌ユ寚瀹氫换鍔″彿鐨勭Щ搴撲换鍔℃槸鍚︽弧瓒崇Щ搴撴潯浠�
+        /// </summary>
+        /// <param name="taskNum"></param>
+        /// <returns></returns>
+        [HttpGet, HttpPost, Route("TransferCheck"),AllowAnonymous]
+        public async Task<WebResponseContent?> TransferCheckAsync([FromBody] int taskNum)
+        {
+            return await Service.TransferCheckAsync(taskNum);
+        }
     }
-}
+}
\ No newline at end of file

--
Gitblit v1.9.3