From c844cdbe0216c416d99dee8dfad2290b2a414909 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期二, 10 十二月 2024 18:34:39 +0800
Subject: [PATCH] completionData

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CumulateHandle.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CumulateHandle.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CumulateHandle.java
index 5dbff70..46d4b47 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CumulateHandle.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/point/collection/handler/CumulateHandle.java
@@ -102,6 +102,10 @@
 
         //找出缺少项
         Map<Long, Double> sourceDataMap = new HashMap<>(dataList.size());
+        for (ApiPointValueDTO pv : dataList) {
+            sourceDataMap.put(pv.getT().getTime(), pv.getV());
+        }
+
         Map<Long, Double> dataMap = new LinkedHashMap<>();
         for (int i = 0; i < mins; i++) {
             Long key = start + oneMin * i;

--
Gitblit v1.9.3