Product_Wms/WcsMain/ApiServe/Controllers/WcsController/ScanController.cs
icewint 03c600bc70 1、修改文件结构
2、删除不使用的 using
2024-11-15 11:38:01 +08:00

38 lines
910 B
C#

using Microsoft.AspNetCore.Mvc;
using WcsMain.ApiServe.ControllerFilter;
using WcsMain.ApiServe.ControllerFilter.ExceptionFilter;
using WcsMain.ApiServe.Dto;
using WcsMain.ApiServe.Dto.WcsDto.Scan;
using WcsMain.ApiServe.Service.WcsService;
using WcsMain.DataBase.TableEntity;
namespace WcsMain.ApiServe.Controllers.WcsController;
/// <summary>
/// 扫码器相关接口
/// </summary>
[Route("api/wcs/scan")]
[ApiController]
[WcsExceptionFilter]
[WcsAuthorization]
public class ScanController(ScanService scanService) : ControllerBase
{
/// <summary>
/// 分页查询扫码记录
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[HttpPost("queryScanRecordWithPage")]
public WcsApiResponse<int, List<AppScanRecord>> QueryScanRecordWithPage([FromBody] QueryScanRecordWithPageRequest request) => scanService.QueryScanRecordWithPage(request);
}