md
This commit is contained in:
parent
52db5c3255
commit
07243d85fd
@ -3262,9 +3262,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
volumeWeight=300.0f*totalVolume;
|
volumeWeight=300.0f*totalVolume;
|
||||||
}else{
|
}else{
|
||||||
volumeWeight=totalVolume * (1000000 / Double.valueOf(emisTransLine.getMeterRate()));
|
volumeWeight=totalVolume * (1000000 / Double.valueOf(emisTransLine.getMeterRate()));
|
||||||
DecimalFormat df = new DecimalFormat("#.#####");
|
|
||||||
volumeWeight= Double.parseDouble(df.format(volumeWeight));
|
|
||||||
}
|
}
|
||||||
|
DecimalFormat df = new DecimalFormat("#.##");
|
||||||
|
volumeWeight= Double.parseDouble(df.format(volumeWeight));
|
||||||
|
|
||||||
}
|
}
|
||||||
emisWaybill.setVolumeWeight(BigDecimal.valueOf(volumeWeight));
|
emisWaybill.setVolumeWeight(BigDecimal.valueOf(volumeWeight));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user