md
This commit is contained in:
parent
e9879295f2
commit
6c1378c1ef
@ -797,14 +797,13 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
}
|
||||
|
||||
if(emisWaybillSave.getFreight().floatValue()<=0.0f){
|
||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"运费必须大于0");
|
||||
// throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"运费必须大于0");
|
||||
}
|
||||
|
||||
// emisWaybillSave.getTotalVolume().floatValue() <=0.0f
|
||||
if(
|
||||
emisWaybillSave.getTotalVolume().floatValue() <=0.0f
|
||||
|| emisWaybillSave.getBillWeight().floatValue() <=0.0f
|
||||
emisWaybillSave.getBillWeight().floatValue() <=0.0f
|
||||
){
|
||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"体积,实重必须大于0");
|
||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"重量必须大于0");
|
||||
}
|
||||
|
||||
if(StringUtils.isAnyEmpty(
|
||||
@ -823,7 +822,6 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
// throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"计费方式必填");
|
||||
// }
|
||||
|
||||
|
||||
// 发件网点
|
||||
if(StringUtils.isEmpty(emisWaybillSave.getSendSiteCode())){
|
||||
// throw new EmisBizError(EmisBizErrorType.PARAM_ERROR1,"寄件网点必填");
|
||||
@ -1509,7 +1507,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
emisWaybillMapper.insertEmisWaybill(emisWaybillSave);
|
||||
|
||||
// 扣减子单
|
||||
emisElectronicSitePagService.realMatchSubBill(emisWaybillSave.getSendSiteCode(),"T7080",emisWaybillSave.getParcelQty());
|
||||
// emisElectronicSitePagService.realMatchSubBill(emisWaybillSave.getSendSiteCode(),"T7080",emisWaybillSave.getParcelQty());
|
||||
|
||||
// 产生主键插入其他数据
|
||||
// 插入费用
|
||||
|
||||
Loading…
Reference in New Issue
Block a user