| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.Arrays; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | |
| | | return R.data(list); |
| | | } |
| | | |
| | | @GetMapping("/downloadZip") |
| | | @ApiOperation(value = "批量导出白蚁普查的图片视频zip文件") |
| | | public R downloadZip(Query query,String type) throws IOException { |
| | | |
| | | List<String> msg = tbDykeInvestigationService.downZip(Condition.getPage(query),type); |
| | | |
| | | return R.data(msg); |
| | | } |
| | | |
| | | @GetMapping("/statisticsPie") |
| | | public R statisticsPie(StatisticsParams statisticsParams){ |
| | | StatisticsPie statisticsPie = tbDykeInvestigationService.statisticsPie(statisticsParams); |
| | |
| | | return R.data(list); |
| | | } |
| | | |
| | | |
| | | |
| | | } |