cnas-device/src/main/java/com/ruoyi/device/controller/DeviceExaminePlanController.java
@@ -141,6 +141,16 @@
    }
    /**
     * 核查计划年份列表(自动删除没有明细的空年份计划)
     * @return
     */
    @Operation(summary = "核查计划年份列表")
    @GetMapping("/getPlanYears")
    public Result<List<String>> getPlanYears() {
        return Result.success(deviceExaminePlanService.getExaminePlanYears());
    }
    /**
     * 设备核查计划详情列表
     * @return
     */
@@ -174,7 +184,7 @@
    }
    /**
     * 删除设备核查计划详情(已有核查记录的不允许删除)
     * 删除设备核查计划详情(已审核完成的核查记录不允许删除,未审核记录随明细一起删除)
     * @return
     */
    @Operation(summary = "删除设备核查计划详情")
@@ -238,8 +248,8 @@
     */
    @Operation(summary = "导出设备核查计划")
    @GetMapping("/exportDeviceExaminePlanDetail")
    public void exportDeviceExaminePlanDetail(Integer planId, HttpServletResponse response){
        deviceExaminePlanService.exportDeviceExaminePlanDetail(planId, response);
    public void exportDeviceExaminePlanDetail(Integer planId, String deviceName, String deviceNumber, HttpServletResponse response){
        deviceExaminePlanService.exportDeviceExaminePlanDetail(planId, deviceName, deviceNumber, response);
    }
    /*********************************************** 报告 **************************************************/