| | |
| | | using CMS.Extensions.Abp.AspNetCore.Mvc.Filters; |
| | | using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsEnumDto; |
| | | using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsStores; |
| | | using CMS.Plugin.HIAWms.Application.Contracts.Services; |
| | | using CMS.Plugin.HIAWms.Domain.Shared.Util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System; |
| | | using System.Web; |
| | | using static CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsAreas.WmsAreaCreateOrUpdateDtoBase; |
| | | using static CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsPlaces.WmsPlaceCreateOrUpdateDtoBase; |
| | | |
| | | namespace CMS.Plugin.HIAWms.Controller |
| | | { |
| | |
| | | { |
| | | return _wmsEnumAppService.GetEnumDataList(input); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取仓库列表 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | [Route("StoreList")] |
| | | public async Task<List<WmsStoreForAreaOutpur>> GetStreList() |
| | | { |
| | | return await _wmsEnumAppService.GetStreList(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 库区列表 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | [Route("AreaList")] |
| | | public async Task<List<AreaForListOuptut>> GetAreaListAsync() |
| | | { |
| | | return await _wmsEnumAppService.GetAreaListAsync(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 巷道列表 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | [Route("AisleList")] |
| | | public async Task<List<PlaceAisleForListOuptut>> GetAisleListAsync() |
| | | { |
| | | return await _wmsEnumAppService.GetAisleListAsync(); |
| | | } |
| | | } |
| | | } |