haungfuli 2 lat temu
rodzic
commit
f8211f2dd6

+ 2 - 2
winsea-haixin-plugin-wangluohuoyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/util/EntityAnalyse.java

@@ -254,8 +254,8 @@ public class EntityAnalyse {
             Double doubleValue = Double.parseDouble(approvedWeight) / 10;
             int intValue = doubleValue.intValue();
             params.put("vehicleTonnage", intValue);
-            String servicingWeight = df.format(hyDriverCarInfo.getServicingWeight());
-            Double doubleValue1 = Double.parseDouble(servicingWeight) / 10;
+            String totalWeight = df.format(hyDriverCarInfo.getCarTotalWeight());
+            Double doubleValue1 = Double.parseDouble(totalWeight) / 10;
             int intValue1 = doubleValue1.intValue();
             params.put("grossMass", intValue1);
         }

+ 3 - 3
winsea-haixin-plugin-wangluohuoyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/util/MonitoringSystemReporting.java

@@ -225,9 +225,9 @@ public class MonitoringSystemReporting {
             Double doubleValue = hyDriverCarInfo.getGuaCarApprovedWeight() / 1000;
             String approvedWeight = df.format(doubleValue);
             vehicle.setVehicleTonnage(approvedWeight);
-            Double doubleValue1 = hyDriverCarInfo.getServicingWeight() / 1000;
-            String servicingWeight = df.format(doubleValue1);
-            vehicle.setGrossMass(servicingWeight);
+            Double doubleValue1 = hyDriverCarInfo.getCarTotalWeight() / 1000;
+            String totalWeight = df.format(doubleValue1);
+            vehicle.setGrossMass(totalWeight);
         }
         vehicle.setRoadTransportCertificateNumber(hyDriverCarInfo.getOperationCertificateNumber());
         vehicle.setRemark("备注");