xiazhengtongxue
2026-01-24 a647de5665411f706beddc5e0ff7b3a3daaca4fc
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs
@@ -25,6 +25,64 @@
        {
        }
        /// <summary>
        /// å¯ç”¨è´§ä½
        /// </summary>
        /// <param name="keys"></param>
        /// <returns></returns>
        [HttpPost, Route("LocationEnableStatus")]
        public WebResponseContent LocationEnableStatus([FromBody] int[] keys)
        {
            return Service.LocationEnableStatus(keys); ;
        }
        /// <summary>
        /// ç¦ç”¨è´§ä½
        /// </summary>
        /// <param name="keys"></param>
        /// <returns></returns>
        [HttpPost, Route("LocationDisableStatus")]
        public WebResponseContent LocationDisableStatus([FromBody] int[] keys)
        {
            return Service.LocationDisableStatus(keys); ;
        }
        /// <summary>
        /// ä¸€é”®å¯åŠ¨å··é“è´§ä½
        /// </summary>
        /// <param name="roadwayNo">巷道号</param>
        /// <returns></returns>
        [HttpPost, Route("EnableAllLocationsInRoadway")]
        public WebResponseContent EnableAllLocationsInRoadway(string roadwayNo)
        {
            return Service.EnableAllLocationsInRoadway(roadwayNo);
        }
        /// <summary>
        /// ä¸€é”®ç¦ç”¨å··é“货位
        /// </summary>
        /// <param name="roadwayNo">巷道号</param>
        /// <returns></returns>
        [HttpPost, Route("DisableAllLocationsInRoadway")]
        public WebResponseContent DisableAllLocationsInRoadway(string roadwayNo)
        {
            return Service.DisableAllLocationsInRoadway(roadwayNo);
        }
        /// <summary>
        /// èŽ·å–å··é“
        /// </summary>
        [HttpGet, Route("GetArea"), AllowAnonymous]
        public WebResponseContent GetArea()
        {
            return Service.GetArea();
        }
        /// <summary>
        /// èŽ·å–è´§ä½ä¿¡æ¯
        /// </summary>
        [HttpGet, Route("GetLocationStatus"), AllowAnonymous]
        public WebResponseContent GetLocationStatus(int WarehouseId, string RoadwayNo)
        {
            return Service.GetLocationStatus(WarehouseId, RoadwayNo);
        }
    }
}