cjl
2023-11-07 a3b34f9f092e1aeacfe6bd4c9e80b7464dcd5912
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);
    }
}