jinpengyong
2021-08-12 e4ebf74baef4faab3fa794c042e2921437525e6e
update
1 files modified
4 ■■■■ changed files
screen-api/src/main/java/com/moral/api/service/impl/DeviceServiceImpl.java 4 ●●●● patch | view | raw | blame | history
screen-api/src/main/java/com/moral/api/service/impl/DeviceServiceImpl.java
@@ -96,10 +96,10 @@
        List<Map<String, Object>> result = new ArrayList<>();
        for (String start : times) {
            if ("day".equals(type)) {
            if ("hour".equals(type)) {
                end = DateUtils.getDateAddDay(start, 1);
                timeUnits = "hourly";
            } else if ("month".equals(type)) {
            } else if ("day".equals(type)) {
                end = DateUtils.getDateAddMonth(start, 1);
                timeUnits = "daily";
            } else {