md
This commit is contained in:
parent
dfd52c389f
commit
9afabd812b
@ -794,7 +794,6 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
emisWaybill.getCustomsEclaration()
|
emisWaybill.getCustomsEclaration()
|
||||||
)
|
)
|
||||||
|| emisWaybill.getBillWeight()==null
|
|| emisWaybill.getBillWeight()==null
|
||||||
|| emisWaybill.getTotalVolume()==null
|
|
||||||
|
|
||||||
){
|
){
|
||||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1, "参数不完整");
|
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1, "参数不完整");
|
||||||
@ -805,7 +804,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
emisWaybill.setBillWeight(BigDecimal.ZERO);
|
emisWaybill.setBillWeight(BigDecimal.ZERO);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(emisWaybill.getTotalVolume().floatValue()<=0.0f){
|
if(emisWaybill.getTotalVolume()==null || (emisWaybill.getTotalVolume()!=null && emisWaybill.getTotalVolume().floatValue()<=0.0f) ){
|
||||||
emisWaybill.setTotalVolume(BigDecimal.ZERO);
|
emisWaybill.setTotalVolume(BigDecimal.ZERO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user