You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
920 B
C#
36 lines
920 B
C#
using DS.Module.Core;
|
|
using DS.WMS.Core.WmsModule.Dtos;
|
|
using DS.WMS.Core.WmsModule.Interface;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace DS.WMS.WebApi.Controllers;
|
|
/// <summary>
|
|
/// 查询模块
|
|
/// </summary>
|
|
public class StoreQueryController : ApiController
|
|
{
|
|
private readonly IStoreQueryService _invokeService;
|
|
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="invokeService"></param>
|
|
public StoreQueryController(IStoreQueryService invokeService)
|
|
{
|
|
_invokeService = invokeService;
|
|
}
|
|
/// <summary>
|
|
/// 查询仓库库存
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
[Route("GetWmsStoreList")]
|
|
public DataResult<List<WmsStoreListPagModel>> GetWmsStoreList([FromBody] PageRequest request)
|
|
{
|
|
var res = _invokeService.GetWmsStoreList(request);
|
|
return res;
|
|
}
|
|
|
|
|
|
} |