| | |
| | | using CMS.Extensions.Abp.AspNetCore.Mvc.Filters; |
| | | using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsMaterialStocks; |
| | | using CMS.Plugin.HIAWms.Application.Contracts.Services; |
| | | using CMS.Plugin.HIAWms.Application.Implements; |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 哭出来明细 |
| | | /// 库存明细 |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | |
| | | return await _wmsmaterialstockAppService.GetStockDetailAsync(input); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 根据条件获取出入库单据详情 |
| | | /// </summary> |
| | | /// <param name="input">查询参数</param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [Route("FindListByFilter")] |
| | | public virtual async Task<List<WmsMaterialStockDto>> FindListByFilterAsync([FromBody] GetWmsMaterialStockInput input) |
| | | { |
| | | return await _wmsmaterialstockAppService.FindListByFilterAsync(input); |
| | | } |
| | | /// <summary> |
| | | /// 根据条件获取单个出入库单据详情 |
| | | /// </summary> |
| | | /// <param name="input">查询参数</param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [Route("FindSingleByFilter")] |
| | | public virtual async Task<WmsMaterialStockDto> FindSingleByFilterAsync([FromBody] GetWmsMaterialStockInput input) |
| | | { |
| | | |
| | | return await _wmsmaterialstockAppService.FindSingleByFilterAsync(input); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 创建wmsmaterialstock. |
| | | /// </summary> |