Browse Source

断面仪-参数为空推送失败处理

LHB 1 day ago
parent
commit
a444e8cc58

+ 2 - 2
blade-service-api/blade-manager-api/src/main/java/org/springblade/manager/entity/profiler/ProfilerDataPush.java

@@ -33,11 +33,11 @@ public class ProfilerDataPush {
     /**
      * 超挖值(米)
      */
-    private String overbreak_value;
+    private String overbreak_value = "0";
     /**
      * 欠挖值(米)
      */
-    private String underbreak_value;
+    private String underbreak_value = "0";
     public static List<ProfilerDataPush> parameterMapping(List<ProfilerData> data) {
         return data.stream().map(f -> {
             ProfilerDataPush sectionPush = new ProfilerDataPush();