|
|
|
@ -78,16 +78,16 @@ public class MzZyHisController {
|
|
|
|
|
List<VJsjWzh7addnjreport> reports = vmp.getReport(dto);
|
|
|
|
|
return CommonResult.success(reports);
|
|
|
|
|
}
|
|
|
|
|
@ApiOperation("修改记录导出excel---按勾选")
|
|
|
|
|
@ApiOperation("内镜超期导出excel---按勾选")
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse resp, @RequestBody List<VJsjWzh7addnjreport> vos) {
|
|
|
|
|
|
|
|
|
|
OutputStream outputStream = ExcelUtil.getOutputStream("档案修改记录.xls", resp);
|
|
|
|
|
OutputStream outputStream = ExcelUtil.getOutputStream("内镜超期报告.xls", resp);
|
|
|
|
|
ExcelWriterBuilder write = EasyExcel.write(outputStream, VJsjWzh7addnjreport.class);
|
|
|
|
|
write.sheet("sheet1").doWrite(vos);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation("修改导出excel---按条件")
|
|
|
|
|
@ApiOperation("内镜超期导出excel---按条件")
|
|
|
|
|
@PostMapping("/exportAll")
|
|
|
|
|
public void exportAll(HttpServletResponse resp,
|
|
|
|
|
@RequestBody VJsjWzh7addnjreportDto dto) {
|
|
|
|
|