| | |
| | | @RequestMapping(value = "export",method= RequestMethod.POST) |
| | | @ControllerEndpoint(operation = "导出用户数据", exceptionMessage = "导出Excel失败") |
| | | public void export(QueryRequest request, EmpPhysicalExam empBaseinfo, HttpServletResponse response) { |
| | | |
| | | request.setPageSize(this.empPhysicalExamService.count()); |
| | | List<EmpPhysicalExam> records = this.empPhysicalExamService.findEmpPhysicalExams(request, empBaseinfo).getRecords(); |
| | | ExcelKit.$Export(EmpPhysicalExam.class, response).downXlsx(records, false); |
| | | } |
| | |
| | | } |
| | | |
| | | @DeleteMapping("{ids}") |
| | | @PreAuthorize("hasAuthority('empPhysicalexam:delete')") |
| | | public void logicDeleteEmpPhysicalExam(@PathVariable("ids") String ids) throws FebsException { |
| | | try { |
| | | this.empPhysicalExamService.logicDelEmpPhysicalExam(ids); |