| | |
| | | |
| | | @ApiOperation("查询站点对应的巡检单") |
| | | @GetMapping("") |
| | | public Response getList(@RequestParam Integer stationId){ |
| | | return service.getList(stationId); |
| | | public Response getList(@RequestParam Integer stationId,@RequestParam Integer inspectionType){ |
| | | return service.getList(stationId,inspectionType); |
| | | } |
| | | |
| | | |
| | |
| | | @Resource |
| | | private AlarmInspectionMapper mapper; |
| | | |
| | | public Response getList(Integer stationId) { |
| | | public Response getList(Integer stationId, Integer inspectionType) { |
| | | //需要附加填充 负责班组信息 及 告警诊断信息 |
| | | List<AlarmInspection> list = mapper.getList(stationId); |
| | | return new Response().set(1,list); |