| | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "按项目统计钻孔数据") |
| | | @GetMapping(value = "/countExplorationPoints") |
| | | public ResponseMsg<Object> countExplorationPoints() { |
| | | try { |
| | | List<CountEntity> list = reportService.countExplorationPoints(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex, null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "下载报告") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "报告ID", dataType = "Integer", paramType = "7") |
| | | @ApiImplicitParam(name = "id", value = "报告ID", dataType = "Integer", paramType = "query", example = "18") |
| | | }) |
| | | @GetMapping(value = "/downloadReport") |
| | | public void downloadReport(Integer id, HttpServletRequest req, HttpServletResponse res) { |