md
This commit is contained in:
parent
ad832199fe
commit
508e1cd22c
@ -229,6 +229,11 @@ public class EmisSettleBillServiceImpl extends EmisBaseService implements IEmisS
|
|||||||
throw new EmisBizError(EmisBizErrorType.FAIL,"已核销,不允许操作");
|
throw new EmisBizError(EmisBizErrorType.FAIL,"已核销,不允许操作");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 不允许操作,至少保留一单
|
||||||
|
if(old.getSendPieceSum()==1){
|
||||||
|
throw new EmisBizError(EmisBizErrorType.FAIL,"不允许操作,至少保留一单");
|
||||||
|
}
|
||||||
|
|
||||||
// 检查子账单是否可移除
|
// 检查子账单是否可移除
|
||||||
String billCodeStr=WaybillHelper.formatQueryValue((String) emisSettleBill.getParams().get("billCodeStr"));
|
String billCodeStr=WaybillHelper.formatQueryValue((String) emisSettleBill.getParams().get("billCodeStr"));
|
||||||
if(StringUtils.isEmpty(billCodeStr)){
|
if(StringUtils.isEmpty(billCodeStr)){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user