|  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.dao.business.model.ProblemLog; | 
|---|
|  |  |  | import com.doumee.dao.system.vo.ProblemLogVo; | 
|---|
|  |  |  | import com.doumee.service.business.ProblemLogService; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiOperation; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("导出Excel") | 
|---|
|  |  |  | @PostMapping("/exportExcel") | 
|---|
|  |  |  | @RequiresPermissions("business:problemlog:exportExcel") | 
|---|
|  |  |  | //    @RequiresPermissions("business:problemlog:exportExcel") | 
|---|
|  |  |  | public void exportExcel (@RequestBody PageWrap<ProblemLog> pageWrap, HttpServletResponse response) { | 
|---|
|  |  |  | ExcelExporter.build(ProblemLog.class).export(problemLogService.findPage(pageWrap).getRecords(), "访客答题记录表", response); | 
|---|
|  |  |  | ExcelExporter.build(ProblemLogVo.class).export(problemLogService.findPageExcel(pageWrap), "访客答题记录表", response); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("根据ID查询") | 
|---|