fuliqi
2025-01-07 e23edcf2619ad46fd77a710fca6c21de78234bc0
ycl-server/src/main/java/com/ycl/platform/controller/ReportController.java
@@ -49,6 +49,12 @@
        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')")
@@ -121,4 +127,11 @@
        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);
    }
}