lyhzzz 2 年之前
父节点
当前提交
a7f47bec5f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/manage/service/impl/DataService.java

+ 1 - 1
src/main/java/com/fdkankan/manage/service/impl/DataService.java

@@ -250,7 +250,7 @@ public class DataService implements IDataService {
         for (String key : dates) {
             DataGroupByCount newCount = new DataGroupByCount();
             newCount.setGroupKey(key);
-            Long count = kkMap.get(key) == null ?0 : kkMap.get(key);
+            Long count = kkMap.get(key) == null ? 0L : kkMap.get(key);
             if(dataType == 1){
                 count += totalCount;
                 totalCount = count;