| | |
| | | 锘縰sing Microsoft.AspNetCore.Http; |
| | | 锘縰sing Autofac.Core; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core.CodeConfigEnum; |
| | | using WIDESEA_Core.Helper; |
| | | using WIDESEA_DTO.Basic; |
| | |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.Basic |
| | | { |
| | | /// <summary> |
| | | /// 鐗╂枡 |
| | | /// </summary> |
| | | [Route("api/MaterielInfo")] |
| | | [ApiController] |
| | | public class MaterielInfoController : ApiBaseController<IMaterielInfoService, Dt_MaterielInfo> |
| | |
| | | return WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// 鑾峰彇搴撳尯鐗╂枡淇℃伅 |
| | | /// </summary> |
| | | /// <param name="warehouseId"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("GetWarehouseMaterielInfos")] |
| | | public WebResponseContent GetWarehouseMaterielInfos(int warehouseId) |
| | | { |
| | | return Service.GetWarehouseMaterielInfos(warehouseId); |
| | | } |
| | | } |
| | | } |