src/main/java/com/whyc/controller/AlarmInspectionController.java
@@ -26,10 +26,10 @@ @Autowired private AlarmInspectionService service; @ApiOperation("查询站点对应的巡检单") @GetMapping("") public Response getList(@RequestParam Integer stationId){ return service.getList(stationId); @ApiOperation(value = "查询站点对应的巡检单",notes = "inspectionType=1表示告警级别为1的故障工单,inspectionType=2表示告警级别为2的巡检备忘录") @GetMapping("getList") public Response getList(@RequestParam Integer stationId,@RequestParam Integer inspectionType){ return service.getList(stationId,inspectionType); }