| | |
| | | |
| | | @GetMapping("/download/overFloodInfo") |
| | | public ResponseEntity overFloodInfo(String isShow) throws Exception { |
| | | String time = new SimpleDateFormat("yyyy日MM月dd日HH时").format(new Date()); |
| | | String time = new SimpleDateFormat("yyyy年MM月dd日HH时").format(new Date()); |
| | | String fileName = time + "报汛文件.docx"; |
| | | String fileNameURL = URLEncoder.encode(fileName, "UTF-8"); |
| | | //获取总览、大中库、明细数据 |
| | |
| | | List<TotalInfo> totalOver10List = sjztmdService.getTotalOverInfo(isShow, over10Params); |
| | | |
| | | //昨日报汛内容 |
| | | QueryWrapper queryWrapper = new QueryWrapper(); |
| | | YwFloodReportInfo ywFloodReportInfo = ywFloodReportInfoService.getLatestReport(queryWrapper); |
| | | YwFloodReportInfo ywFloodReportInfo = ywFloodReportInfoService.getLatestReport(oneDayBefore.format(formatter2)); |
| | | |
| | | byte[] data = null; |
| | | if (MyDateUtils.isTodayInFloodSeason()) { |