|
|
@@ -73,9 +73,9 @@ public class UnitStBudgetApplyFormPlugin extends AbstractFormPlugin implements P
|
|
|
}else{
|
|
|
DynamicObjectCollection corp = StmService.corp(org);
|
|
|
ListShowParameter listParameter = new ListShowParameter();
|
|
|
- listParameter.setFormId("bos_list");
|
|
|
+ listParameter.setFormId("bos_listf7");
|
|
|
// listParameter.setFormId("haos_orgtreelistf7");
|
|
|
- listParameter.setBillFormId("haos_adminorghrf7");
|
|
|
+ listParameter.setBillFormId("hbss_lawentity");
|
|
|
listParameter.setCaption(StrFormatter.format("【{}】下的法人企业",org.getString(FormConstant.NAME_KEY)));
|
|
|
listParameter.getOpenStyle().setShowType(ShowType.Modal);
|
|
|
StyleCss inlineStyleCss = new StyleCss();
|
|
|
@@ -83,12 +83,12 @@ public class UnitStBudgetApplyFormPlugin extends AbstractFormPlugin implements P
|
|
|
inlineStyleCss.setWidth("800");
|
|
|
listParameter.getOpenStyle().setInlineStyleCss(inlineStyleCss);
|
|
|
|
|
|
- QFilter qFilter = QFilterCommonHelper.getCurrentVersionFilter();
|
|
|
+ QFilter qFilter = QFilter.of("1=1");
|
|
|
List<Long> ids = new ArrayList<Long>();
|
|
|
for (DynamicObject dynamicObject : corp) {
|
|
|
long corpoRateOrgId = dynamicObject.getLong(String.join(".", "corporateorg", FormConstant.ID_KEY));
|
|
|
if(corpoRateOrgId > 0) {
|
|
|
- ids.add(dynamicObject.getLong(FormConstant.ID_KEY));
|
|
|
+ ids.add(corpoRateOrgId);
|
|
|
}
|
|
|
}
|
|
|
qFilter.and(FormConstant.ID_KEY,QCP.in,ids);
|