cjl
2023-10-27 b62adf1d73b62711180a5332d7c2c71d2c0a1cfb
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);
    }
}