zhuo
2025-04-18 8b4d7246fb735d965195201e80178b5d1528a486
cnas-device/src/main/java/com/ruoyi/device/controller/DeviceMaintenanceController.java
@@ -12,6 +12,8 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
/**
 * todo: 孙河滨
 */
@@ -67,5 +69,13 @@
        return Result.success(deviceMaintenanceService.removeById(id));
    }
    /**
     * 导出设备维护保养
     */
    @ApiOperation("导出设备维护保养")
    @GetMapping("/exportDeviceMaintenance")
    public void exportDeviceMaintenance(@RequestParam("deviceId") Integer deviceId, HttpServletResponse response) {
        deviceMaintenanceService.exportDeviceMaintenance(deviceId, response);
    }
}