|
@@ -539,7 +539,7 @@ public class TranProcessInfoServiceImpl extends ServiceImpl<TranProcessInfoMappe
|
|
|
tranSettlementReport1.setSettlementWeight(tranCarInfo.getLoadNetWeight() > tranCarInfo.getUnloadNetWeight() ? tranCarInfo.getUnloadNetWeight() : tranCarInfo.getLoadNetWeight());
|
|
|
tranSettlementReport1.setTransportDamage(tranSettlementReport1.getSettlementWeight() * 0.001);
|
|
|
}
|
|
|
- if (tranSettlementReport1.getLossWeight() < 0) {
|
|
|
+ if (tranSettlementReport1.getLossWeight() <= 0) {
|
|
|
tranSettlementReport1.setActualLoss(0d);
|
|
|
tranSettlementReport1.setDeductionAmount(0d);
|
|
|
}
|