Admin
2026-01-22 bde09c027eee16a7b05b82e71dea4d3405d6d52d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using HslCommunication.WebSocket;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
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;
 
namespace WIDESEA_WMSServer.Controllers.Basic
{
    /// <summary>
    /// 货位
    /// </summary>
    [Route("api/LocationInfo")]
    [ApiController]
    public class LocationInfoController : ApiBaseController<ILocationInfoService, Dt_LocationInfo>
    {
        public LocationInfoController(ILocationInfoService service) : base(service)
        {
        }
 
        /// <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);
        }
 
    }
}