| | |
| | | return success(serviceStatistics); |
| | | } |
| | | |
| | | /** |
| | | * 随访异常统计导出 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:taskcall:export')") |
| | | @Log(title = "随访统计导出", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/getSfStatisticsIsAbnormalExport") |
| | | public void getSfStatisticsIsAbnormalExport(HttpServletResponse response, ServiceSubtaskCountReq serviceSubtaskCountReq) { |
| | | List<ServiceSubtaskIsAbnormalStatistic> sfStatistics = serviceSubtaskService.getSfStatisticsIsAbnormalExport(serviceSubtaskCountReq); |
| | | ExcelUtil<ServiceSubtaskIsAbnormalStatistic> util = new ExcelUtil<ServiceSubtaskIsAbnormalStatistic>(ServiceSubtaskIsAbnormalStatistic.class); |
| | | String sheetName = ""; |
| | | String fileName = ""; |
| | | if (active.equals("ls") || active.equals("druid")) { |
| | | fileName = sheetName = LocalDate.now().getMonthValue() + "月出院随访异常统计表"; |
| | | util.exportExcelWithFileName(response, sfStatistics, sheetName, fileName); |
| | | } else { |
| | | sheetName = "随访异常统计导出"; |
| | | util.exportExcel(response, sfStatistics, sheetName); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取随访统计比例 |