jinpengyong
2023-11-14 d3b8905de283ea2e28c06f2c80f72397723b8d77
screen-api/src/main/java/com/moral/api/controller/DeviceController.java
@@ -144,7 +144,7 @@
        if (!params.containsKey("macs") || !params.containsKey("sensorCode") || !params.containsKey("type") || !params.containsKey("times")) {
            return ResultMessage.fail(ResponseCodeEnum.PARAMETERS_IS_MISSING.getCode(), ResponseCodeEnum.PARAMETERS_IS_MISSING.getMsg());
        }
        List<Map<String, Object>> response = deviceService.getTrendChartData(params);
        List<Map<String, Object>> response = deviceService.getTrendChartDataV2(params);
        return ResultMessage.ok(response);
    }
}