using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_DTO.Stock; using WIDESEA_IBasicRepository; using WIDESEA_IStockRepository; using WIDESEA_IStockService; using WIDESEA_Model.Models; namespace WIDESEA_WMSServer.Controllers.Stock { [Route("api/InventoryBatch")] [ApiController] public class InventoryBatchController : ApiBaseController { public InventoryBatchController(IInventoryBatchService service) : base(service) { } /// /// 指定出库获取库存批次信息 /// /// /// [HttpPost, Route("GetInventoryBatch"), AllowAnonymous] public List GetInventoryBatch(string materielCode) { return Service.GetInventoryBatch(materielCode); } } }