借款单提交校验扣减返还逻辑优化
This commit is contained in:
parent
a3dab0657e
commit
b63dc4756f
|
@ -91,6 +91,13 @@ public class DailyLoanBillSubValidatorOp extends AbstractOperationServicePlugIn
|
||||||
this.addFatalErrorMessage(dataEnt, "您在定额备用金初始化台账里,所以不能使用临时备用金!!");
|
this.addFatalErrorMessage(dataEnt, "您在定额备用金初始化台账里,所以不能使用临时备用金!!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
QFilter filter1 = new QFilter("balanceamount", QCP.not_equals, 0);
|
||||||
|
DynamicObject er_dailyLoanBill1 = BusinessDataServiceHelper.loadSingle("er_dailyloanbill",
|
||||||
|
"id", new QFilter[]{filter1});//定额备用金初始台账
|
||||||
|
if (er_dailyLoanBill1 != null){
|
||||||
|
this.addFatalErrorMessage(dataEnt, "您存在未还完的借款!!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
} else if (impRestType.equals("2")) {
|
} else if (impRestType.equals("2")) {
|
||||||
//项目筹备备用金
|
//项目筹备备用金
|
||||||
QFilter filter = new QFilter("zcgj_entryentity.zcgj_person", QCP.equals, applier.getPkValue());// 可借款人员
|
QFilter filter = new QFilter("zcgj_entryentity.zcgj_person", QCP.equals, applier.getPkValue());// 可借款人员
|
||||||
|
|
Loading…
Reference in New Issue