This commit is contained in:
linfso 2024-12-10 23:15:58 +08:00
parent 1ec82f3f12
commit cc41bffc34

View File

@ -3476,7 +3476,11 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
)
{
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1, "参数不完整");
log.error("计算体积重量错误,参数不完整");
emisWaybill.setVolumeWeight(BigDecimal.ZERO);
emisWaybill.setMeterType("0");
return;
// throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1, "参数不完整");
}
double totalVolume=emisWaybill.getTotalVolume().doubleValue();