| | |
| | | return reportService.importData(form); |
| | | } |
| | | |
| | | @GetMapping("/getTogether/{pid}") |
| | | @ApiOperation(value = "获取同一批次的报备", notes = "获取同一批次的报备") |
| | | public Result getTogether(@PathVariable("pid") String pid) { |
| | | return reportService.getTogether(pid); |
| | | } |
| | | |
| | | @PostMapping("/importTemplate") |
| | | @ApiOperation(value = "导入模板", notes = "导入模板") |
| | | @PreAuthorize("@ss.hasPermi('system:report:add')") |
| | |
| | | ExcelUtil<ReportVO> util = new ExcelUtil<>(ReportVO.class); |
| | | util.exportExcel(response, list, "运维单位"); |
| | | } |
| | | |
| | | @GetMapping("/list/{gb}") |
| | | @ApiOperation(value = "根据国标码查报备", notes = "根据国标码查报备") |
| | | public Result getListByGb(@PathVariable("gb") String gb) |
| | | { |
| | | return reportService.getListByGb(gb); |
| | | } |
| | | } |