资金计划申请问题处理

This commit is contained in:
zhangzhiguo 2026-01-15 15:20:06 +08:00
parent 4107a31028
commit 5108de73aa
1 changed files with 11 additions and 2 deletions

View File

@ -147,10 +147,19 @@ public class FundingplanapplyPlugin extends AbstractBillPlugIn implements Plugin
} else {
period = (DynamicObject) periodObj;
}
int year = Integer.parseInt(period.getString("number").substring(0, 4));
/*int month = Integer.parseInt(period.getString("number").substring(4, 6));
if (month == 1) {
year -= 1;
month = 12;
} else {
month -= 1;
}*/
int nowyear = LocalDate.now().getYear();
List<QFilter> searchFilterList = new ArrayList<>();
searchFilterList.add(new QFilter("zcgj_org", QCP.equals, org.getLong("id")));
searchFilterList.add(new QFilter("zcgj_period.number", QCP.like, nowyear + "%"));
searchFilterList.add(new QFilter("zcgj_period.number", QCP.like, year + "%"));
searchFilterList.add(new QFilter("billstatus", QCP.equals, "C"));
DynamicObject[] load = BusinessDataServiceHelper.load("zcgj_ec_fundingplanapply",
@ -318,8 +327,8 @@ public class FundingplanapplyPlugin extends AbstractBillPlugIn implements Plugin
infundlastentryObject.set("zcgj_lastplanval",lastplanvalall);
infundlastentryObject.set("zcgj_lastplanrec",lastplanrec);
}
this.getView().updateView();
}
this.getView().updateView("zcgj_infundlastentry");
}
//上月实际流入 end