Pārlūkot izejas kodu

taos新增字段,SQL拼接

malijun 1 gadu atpakaļ
vecāks
revīzija
8d52d3451e

+ 1 - 0
electricity/meter/src/main/java/com/gyee/gaia/meter/service/saveTDengine/TDSaveLLFDLTest.java

@@ -881,6 +881,7 @@ class TDSaveLLFDLTest {
         System.out.println("实保证证" + new BigDecimal(baozhenlilun).divide(BigDecimal.valueOf(10000),2,RoundingMode.HALF_EVEN));
 
 
+
     }
 
 

+ 3 - 0
realtime/wind/src/main/java/com/gyee/gaia/realtime/wind/service/impl/RealtimeAverageTargetServiceImpl.java

@@ -34,6 +34,9 @@ public class RealtimeAverageTargetServiceImpl extends ServiceImpl<RealtimeAverag
                         .append(",").append(target.getWindSpeed()).append(",").append(target.getPower())
                         .append(",").append(target.getGeneratorSpeed()).append(",").append(target.getImpellerSpeed())
                         .append(",").append(target.getWindDirection()).append(",").append(target.getTheoryGeneration())
+                        .append(",").append(target.getBladeAngle())
+                        .append(",").append(target.getEngineDirection())
+                        .append(",").append(target.getWindDeviation())
                         .append(") ");
             }
             count += baseMapper.insert(sb.toString());