|  |  | 
 |  |  | import com.doumee.core.model.PageData; | 
 |  |  | import com.doumee.dao.admin.request.RetentionQuery; | 
 |  |  | import com.doumee.dao.business.model.Retention; | 
 |  |  | import com.doumee.dao.system.vo.RetentionVo; | 
 |  |  | import com.doumee.service.business.RetentionService; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | 
 |  |  |     @PostMapping("/exportExcel") | 
 |  |  |     //@RequiresPermissions("business:retention:exportExcel") | 
 |  |  |     public void exportExcel (@RequestBody PageWrap<Retention> pageWrap, HttpServletResponse response) { | 
 |  |  |         ExcelExporter.build(Retention.class).export(retentionService.findPage(pageWrap).getRecords(), "在厂人员信息 表(滞留)", response); | 
 |  |  |         ExcelExporter.build(RetentionVo.class).export(retentionService.findPageExcel(pageWrap), "在厂人员信息 表(滞留)", response); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("根据ID查询") |