借款单优化提交校验逻辑
This commit is contained in:
parent
224c0187d8
commit
bd45dfc83d
|
@ -94,8 +94,9 @@ public class DailyLoanBillSubValidatorOp extends AbstractOperationServicePlugIn
|
|||
this.addFatalErrorMessage(dataEnt, "您在定额备用金初始化台账里,所以不能使用临时备用金!!");
|
||||
return;
|
||||
}
|
||||
QFilter filter1 = new QFilter("balanceamount", QCP.not_equals, 0);//借款余额
|
||||
QFilter filter1 = new QFilter("billstatus", QCP.in, new String[]{"B", "C", "E", "F", "G"});//单据状态为:已提交/审核中/审核通过/等待付款/已付款
|
||||
filter1.and(new QFilter("applier", QCP.equals, applier.getPkValue()));//申请人
|
||||
filter1.and(new QFilter("zcgj_impresttype", QCP.not_in, new String[]{"0", "2"}));//备用金类型不为定额备用金和项目筹备备用金
|
||||
DynamicObject er_dailyLoanBill1 = BusinessDataServiceHelper.loadSingle("er_dailyloanbill",
|
||||
"id", new QFilter[]{filter1});//借款单
|
||||
if (er_dailyLoanBill1 != null) {
|
||||
|
|
Loading…
Reference in New Issue