md
This commit is contained in:
parent
d5251eb6b8
commit
df040bf8d4
@ -1634,9 +1634,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
}
|
||||
|
||||
|
||||
// 检查数据
|
||||
if(emisWaybillSave.getFreight()==null || emisWaybillSave.getFreight().floatValue()<=0.0f){
|
||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"运费必须大于0");
|
||||
// 检查数据 非其它支付方式运费必须大于0
|
||||
if(!"6".equals(emisWaybillSave.getPaymentType()) && ( emisWaybillSave.getFreight()==null || emisWaybillSave.getFreight().floatValue()<=0.0f ) ){
|
||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"非其它支付方式运费必须大于0");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user