txf 3 rokov pred
rodič
commit
a0a51c2253

+ 4 - 1
src/main/java/com/steerinfo/dil/service/impl/TmstruckWeightResultServiceImpl.java

@@ -264,7 +264,10 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
         }
         //净重
         if(map.get("resultNetWeight") != null){
-            tmstruckWeightResult.setResultNetWeight(DataChange.dataToBigDecimal(map.get("resultNetWeight")));
+            String resultNetWeight = (String) map.get("resultNetWeight");
+            if(!"".equals(resultNetWeight)){
+                tmstruckWeightResult.setResultNetWeight(DataChange.dataToBigDecimal(resultNetWeight));
+            }
         }
         //设置皮重时间
         if(map.get("resultTareWeightTime") != null){