Showing
1 changed file
with
4 additions
and
1 deletions
| ... | ... | @@ -175,7 +175,7 @@ public class KSDeviceReportService { |
| 175 | 175 | try { |
| 176 | 176 | List<Object> dataList = (ArrayList) needSyncData; |
| 177 | 177 | String sn = dataList.get(0).toString(); |
| 178 | - | |
| 178 | + log.info("dataList is {}", dataList); | |
| 179 | 179 | // 1. 获取当前时间 |
| 180 | 180 | LocalDateTime now = LocalDateTime.now(); |
| 181 | 181 | // 2. 定义间隔分钟数 (例如 5 分钟) |
| ... | ... | @@ -194,8 +194,11 @@ public class KSDeviceReportService { |
| 194 | 194 | Map<String, Object> properties = new HashMap<>(5); |
| 195 | 195 | Object o = dataList.get(j); |
| 196 | 196 | if (o == null) { |
| 197 | + log.info("o is null"); | |
| 197 | 198 | continue; |
| 198 | 199 | } |
| 200 | + | |
| 201 | + log.info("dataList.get(j) {} ", o.toString().trim()); | |
| 199 | 202 | String deviceVarSn = "tc_" + sn + map.get(j); |
| 200 | 203 | log.info("===deviceVarSn==" + deviceVarSn); |
| 201 | 204 | properties.put("channelSn", channelSn); | ... | ... |