| | |
| | | using WIDESEA_IStorageBasicService; |
| | | using WIDESEA_DTO.Basic; |
| | | using WIDESEA_DTO.Stock; |
| | | using WIDESEA_IStorageBasicService; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers; |
| | | |
| | |
| | | { |
| | | public StockInfoController(IStockInfoService service) : base(service) |
| | | { |
| | | |
| | | } |
| | | /// <summary> |
| | | /// æ ¹æ®ç©æç¼ç è·ååºåå¯ç¨éè§å¾ |
| | | /// </summary> |
| | | /// <param name="materielCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("GetStockSelectViews"), AllowAnonymous] |
| | | public List<StockSelectViewDTO> GetStockSelectViews(string materielCode) |
| | | { |
| | | return Service.GetStockSelectViews(materielCode); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ç»ç |
| | | /// </summary> |
| | | /// <param name="groupPlate"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous] |
| | | public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate) |
| | | { |
| | | return Service.AddGroupPlateAsync(groupPlate); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è§£ç |
| | | /// </summary> |
| | | /// <param name="groupPlate"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous] |
| | | public Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate) |
| | | { |
| | | return Service.DeleteGroupPlateAsync(groupPlate); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("GenerateOutboundTask"), AllowAnonymous] |
| | | public WebResponseContent GenerateOutboundTask([FromBody] GenerateOutTaskDto requestOut) |
| | | { |
| | | return Service.GenerateOutboundTask(requestOut); |
| | | } |
| | | |
| | | } |