|
@@ -255,19 +255,19 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
|
|
}
|
|
}
|
|
//毛重
|
|
//毛重
|
|
if(map.get("resultCrossWeight") != null){
|
|
if(map.get("resultCrossWeight") != null){
|
|
- String resultCrossWeight = (String) map.get("resultCrossWeight");
|
|
|
|
|
|
+ String resultCrossWeight = String.valueOf(map.get("resultCrossWeight"));
|
|
if(!"".equals(resultCrossWeight))
|
|
if(!"".equals(resultCrossWeight))
|
|
tmstruckWeightResult.setResultGrossWeight(DataChange.dataToBigDecimal(resultCrossWeight));
|
|
tmstruckWeightResult.setResultGrossWeight(DataChange.dataToBigDecimal(resultCrossWeight));
|
|
}
|
|
}
|
|
//皮重
|
|
//皮重
|
|
if(map.get("resultTareWeight") != null){
|
|
if(map.get("resultTareWeight") != null){
|
|
- String resultTareWeight = (String) map.get("resultTareWeight");
|
|
|
|
|
|
+ String resultTareWeight = String.valueOf(map.get("resultTareWeight"));
|
|
if(!"".equals(resultTareWeight))
|
|
if(!"".equals(resultTareWeight))
|
|
tmstruckWeightResult.setResultTareWeight(DataChange.dataToBigDecimal(resultTareWeight));
|
|
tmstruckWeightResult.setResultTareWeight(DataChange.dataToBigDecimal(resultTareWeight));
|
|
}
|
|
}
|
|
//净重
|
|
//净重
|
|
if(map.get("resultNetWeight") != null){
|
|
if(map.get("resultNetWeight") != null){
|
|
- String resultNetWeight = (String) map.get("resultNetWeight");
|
|
|
|
|
|
+ String resultNetWeight = String.valueOf(map.get("resultNetWeight"));
|
|
if(!"".equals(resultNetWeight)){
|
|
if(!"".equals(resultNetWeight)){
|
|
tmstruckWeightResult.setResultNetWeight(DataChange.dataToBigDecimal(resultNetWeight));
|
|
tmstruckWeightResult.setResultNetWeight(DataChange.dataToBigDecimal(resultNetWeight));
|
|
}
|
|
}
|