模块新增温度数据

This commit is contained in:
xy
2025-07-17 15:46:48 +08:00
parent 6c9a33c05d
commit 5e0c2d5cbc

View File

@@ -283,7 +283,7 @@ public class DataServiceImpl implements IDataService {
EachModuleVO.DataVo vo3 = new EachModuleVO.DataVo();
vo3.setTime(LocalDateTime.ofInstant(item.getTime().minus(8, ChronoUnit.HOURS), ZoneId.systemDefault()));
vo3.setPhasicType(item.getPhaseType());
vo3.setData(Objects.isNull(item.getMinValue()) ? 3.14159 : Double.parseDouble(df.format(item.getAvgValue())));
vo3.setData(Objects.isNull(item.getMinValue()) ? 3.14159 : Double.parseDouble(df.format(item.getMinValue())));
list2.add(vo1);
list3.add(vo2);