| | |
| | | @GetMapping(value = "/getBriefReport") |
| | | public R getBriefReport() { |
| | | //获取总览、大中库、明细数据 |
| | | List<TotalInfo> totalList = sjztmdService.getTotalInfo("0"); |
| | | List<TotalInfo> totalList = sjztmdService.getTotalInfo(""); |
| | | return R.data(BriefReportUtil.formatTotalInfo(totalList)); |
| | | } |
| | | |
| | |
| | | |
| | | @GetMapping("/download/overFloodInfo") |
| | | public ResponseEntity overFloodInfo(String isShow) throws Exception{ |
| | | String time = new SimpleDateFormat("yyyy-MM-dd").format(new Date()); |
| | | String fileName = time+ "全省水库防汛情况.docx"; |
| | | String time = new SimpleDateFormat("yyyy-MM-dd HH").format(new Date()); |
| | | String fileName = time+ "时报汛文件.docx"; |
| | | String fileNameURL = URLEncoder.encode(fileName, "UTF-8"); |
| | | //获取总览、大中库、明细数据 |
| | | List<TotalInfo> totalList = sjztmdService.getTotalInfo(isShow); |