| | |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.Basic |
| | | { |
| | | /// <summary> |
| | | /// è´§ä½ |
| | | /// </summary> |
| | | [Route("api/LocationInfo")] |
| | | [ApiController] |
| | | public class LocationInfoController : ApiBaseController<ILocationInfoService, Dt_LocationInfo> |
| | |
| | | public LocationInfoController(ILocationInfoService service, ILocationInfoRepository repository) : base(service) |
| | | { |
| | | _repository = repository; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åæ§WMSç³»ç»è¾
æä»åºå |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("GetContainerInfo"), AllowAnonymous] |
| | | public WebResponseContent GetContainerInfo() |
| | | { |
| | | return Service.GetContainerInfo(); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="palletType"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("AssignLocation"), AllowAnonymous] |
| | | public Dt_LocationInfo? AssignLocation(string roadwayNo, PalletTypeEnum palletType, int warehouseId) |
| | | public Dt_LocationInfo? AssignLocation(string roadwayNo, int palletType, int warehouseId, int heightType) |
| | | { |
| | | return Service.AssignLocation(roadwayNo, palletType, warehouseId); |
| | | return Service.AssignLocation(roadwayNo, palletType, warehouseId, heightType: heightType); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | } |
| | | |
| | | [HttpPost, Route("UpdateLocationStatus"), AllowAnonymous] |
| | | public WebResponseContent UpdateLocationStatus(string locationCode, PalletTypeEnum palletType, LocationStatusEnum locationStatus, int warehousId) |
| | | public WebResponseContent UpdateLocationStatus(string locationCode, int palletType, LocationStatusEnum locationStatus, int warehousId) |
| | | { |
| | | try |
| | | { |