|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("分页查询") | 
|---|
|  |  |  | @PostMapping("/page") | 
|---|
|  |  |  | //@RequiresPermissions("business:visitevent:query") | 
|---|
|  |  |  | public ApiResponse<PageData<VisitEventDTO>> findPage (@RequestBody PageWrap<VisitEvent> pageWrap) { | 
|---|
|  |  |  | @RequiresPermissions("business:visitevent:query") | 
|---|
|  |  |  | public ApiResponse<PageData<VisitEvent>> findPage (@RequestBody PageWrap<VisitEvent> pageWrap) { | 
|---|
|  |  |  | return ApiResponse.success(visitEventService.findVisitPage(pageWrap)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("导出Excel") | 
|---|
|  |  |  | @PostMapping("/exportExcel") | 
|---|
|  |  |  | //@RequiresPermissions("business:visitevent:exportExcel") | 
|---|
|  |  |  | @RequiresPermissions("business:visitevent:exportExcel") | 
|---|
|  |  |  | public void exportExcel (@RequestBody PageWrap<VisitEvent> pageWrap, HttpServletResponse response) { | 
|---|
|  |  |  | ExcelExporter.build(VisitEventVo.class).export(visitEventService.findPageExcel(pageWrap), "访客事件推送记录表", response); | 
|---|
|  |  |  | ExcelExporter.build(VisitEvent.class).export(visitEventService.findPageExcel(pageWrap), "访客出入事件_" + System.currentTimeMillis(), response); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("根据ID查询") | 
|---|