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