Просмотр исходного кода

大经编机系数改为乘以2.2

wukai 5 дней назад
Родитель
Сommit
349b190281
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      jjt-biz/src/main/java/com/jjt/utils/AsyncService.java

+ 2 - 2
jjt-biz/src/main/java/com/jjt/utils/AsyncService.java

@@ -202,11 +202,11 @@ public class AsyncService {
         //为true表示小经编,false表示大经编
         boolean flag = twinDevice.getDeviceCode().startsWith("C_");
         String table = twinDevice.getDevicePath();
-        //20250718 根据设备类型设置不同的系数,小经编系数为1.0,大经编系数为1.1
+        //20250728 根据设备类型设置不同的系数,小经编系数为1.0,大经编米数要乘2再乘1.1的系数
         float coefficient = 1.0f;
         String[] fields = xFields;
         if (!flag) {
-            coefficient = 1.1f;
+            coefficient = 2.2f;
             fields = dFields;
         }
         String sql = "select %s from %s where time>%s and time <=%s";