|
|
@@ -1768,7 +1768,7 @@ public class KwtWaybillOrderService {
|
|
|
}
|
|
|
|
|
|
goodsPrice = goodsPrice == null ? new BigDecimal(Global.AMOUNT) : goodsPrice;
|
|
|
- BigDecimal deficitLossAmount = deficitAmount.subtract(loadAmount.multiply(loss).setScale(4, RoundingMode.HALF_UP));
|
|
|
+ BigDecimal deficitLossAmount = deficitAmount.subtract(loadAmount.multiply(loss).setScale(2, RoundingMode.HALF_UP));
|
|
|
//扣亏量=亏吨量-合理损耗值【要求大于0,如果小于0则扣亏货量取0】
|
|
|
if (deficitLossAmount.doubleValue() <= 0) {
|
|
|
return new BigDecimal(Global.AMOUNT);
|