优化借款单
This commit is contained in:
parent
912cf2b8ef
commit
b4f6b69aa4
|
@ -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");//人员
|
||||
|
|
Loading…
Reference in New Issue