优化借款单

This commit is contained in:
xuhaihui 2025-09-08 14:11:48 +08:00
parent 912cf2b8ef
commit b4f6b69aa4
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ public class DailyLoanBillSubValidatorOp extends AbstractOperationServicePlugIn
filter.and(new QFilter("zcgj_currentyear", QCP.equals, bizDateYear));//年度
filter.and(new QFilter("zcgj_persons.fbasedataid", QCP.in, applier.getPkValue()));//项目筹备备用金借款人
DynamicObject quotaImprestLedger = BusinessDataServiceHelper.loadSingle("zcgj_quotaimprestledger", new QFilter[]{filter});//定额备用金初始台账
if (quotaImprestLedger == null) {
this.addFatalErrorMessage(dataEnt, "您未在定额备用金初始台账里!!");
return;
}
DynamicObjectCollection entryEntityCollection = quotaImprestLedger.getDynamicObjectCollection("zcgj_entryentity");//分录
for (DynamicObject entryEntity : entryEntityCollection) {
DynamicObject person = entryEntity.getDynamicObject("zcgj_person");//人员