| | |
| | | return new ResultMessage(ResponseCodeEnum.SUCCESS.getCode(), ResponseCodeEnum.SUCCESS.getMsg(), vo); |
| | | } |
| | | |
| | | /** |
| | | * @Description: 查询组织下所有的站点id以及name |
| | | * @Param: [organizationId] |
| | | * @return: com.moral.constant.ResultMessage |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2021/9/26 |
| | | */ |
| | | @GetMapping("queryAllMonitorPoints") |
| | | public ResultMessage queryAllMonitorPoints(Integer organizationId){ |
| | | //处理查询业务 |
| | | List<MonitorPoint> monitorPoints = monitorPointService.queryAllMonitorPoints(organizationId); |
| | | //返回数据 |
| | | return new ResultMessage(ResponseCodeEnum.SUCCESS.getCode(), ResponseCodeEnum.SUCCESS.getMsg(), monitorPoints); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * @param request 请求信息 |