| | |
| | | } |
| | | |
| | | /** |
| | | * 核查计划年份列表(自动删除没有明细的空年份计划) |
| | | * @return |
| | | */ |
| | | @Operation(summary = "核查计划年份列表") |
| | | @GetMapping("/getPlanYears") |
| | | public Result<List<String>> getPlanYears() { |
| | | return Result.success(deviceExaminePlanService.getExaminePlanYears()); |
| | | } |
| | | |
| | | /** |
| | | * 设备核查计划详情列表 |
| | | * @return |
| | | */ |
| | |
| | | */ |
| | | @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); |
| | | } |
| | | |
| | | /*********************************************** 报告 **************************************************/ |