| | |
| | | @Autowired |
| | | HistoryFiveMinutelyService historyFiveMinutelyService; |
| | | |
| | | /** |
| | | * @Description: 查询组织区域对应的设备以及对应因子的五分钟数据 |
| | | * @Param: [form] |
| | | * @return: com.moral.constant.ResultMessage |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2022/3/10 |
| | | */ |
| | | @GetMapping("queryDeviceAndData") |
| | | public ResultMessage queryDeviceAndData(QueryDeviceAndFiveMinuteDataForm form){ |
| | | //判断是否缺少参数 |
| | |
| | | |
| | | return new ResultMessage(ResponseCodeEnum.SUCCESS.getCode(), ResponseCodeEnum.SUCCESS.getMsg(), vo); |
| | | } |
| | | |
| | | /** |
| | | * @Description: 查询弹窗五分钟数据接口 |
| | | * @Param: [mac] |
| | | * @return: com.moral.constant.ResultMessage |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2022/3/10 |
| | | */ |
| | | @GetMapping("queryPopDataByMac") |
| | | public ResultMessage queryPopDataByMac(String mac){ |
| | | return ResultMessage.ok(historyFiveMinutelyService.getPopDataByMac(mac)); |
| | | } |
| | | } |
| | | |
| | | |