wcs_server_kate_suzhou/WcsMain/ApiServe/Controllers/WcsController/ConveyTaskController.cs

31 lines
932 B
C#
Raw Normal View History

2024-06-12 07:29:44 +08:00
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WcsMain.ApiServe.ControllerFilter.ExceptionFilter;
using WcsMain.ApiServe.Controllers.Dto;
using WcsMain.ApiServe.Controllers.Dto.WcsDto.Convey;
2024-06-12 07:29:44 +08:00
using WcsMain.ApiServe.Factory;
using WcsMain.ApiServe.Service.WcsService;
2024-06-12 07:29:44 +08:00
using WcsMain.DataBase.TableEntity;
namespace WcsMain.ApiServe.Controllers.WcsController;
[Route("api/wcs/conveyTask")]
[ApiController]
[WcsExceptionFilter]
public class ConveyTaskController(ConveyService conveyService) : ControllerBase
2024-06-12 07:29:44 +08:00
{
private readonly ConveyService _conveyService = conveyService;
2024-06-12 07:29:44 +08:00
/// <summary>
/// 分页查询箱式线任务
/// </summary>
/// <returns></returns>
[HttpPost("queryConveyTaskWithPage")]
public WcsApiResponse<int, List<AppConveyTask>> QueryConveyTaskWithPage([FromBody] QueryConveyTaskWithPageRequest request) => _conveyService.QueryConveyTaskWithPage(request);
2024-06-12 07:29:44 +08:00
}