提交人:陈绍鑫

日期:2025/4/11 17:30
内容:金融统计报表优化
This commit is contained in:
陈绍鑫 2025-04-11 17:50:40 +08:00
parent 6c0b952e2a
commit da1cff7235
1 changed files with 4 additions and 2 deletions

View File

@ -145,10 +145,12 @@ public class FinanceReportFormPlugin extends AbstractReportFormPlugin implement
@Override
public void initDefaultQueryParam(ReportQueryParam queryParam) {
ReportFilter filter = this.getView().getControl("reportfilterap");//调用页面的自动查询
queryParam.setFilter(filter.getReportQueryParam().getFilter());
super.initDefaultQueryParam(queryParam);
Boolean shkd_isone = (Boolean) this.getModel().getValue("shkd_isone");//是否在第一层
if (!shkd_isone){
ReportFilter filter = this.getView().getControl("reportfilterap");//调用页面的自动查询
queryParam.setFilter(filter.getReportQueryParam().getFilter());
}
HasPermOrgResult userHasPermOrgs = PermissionServiceHelper.getUserHasPermOrgs(Long.parseLong(RequestContext.get().getUserId()));
//有权的组织
List<Long> hasPermOrgs = userHasPermOrgs.getHasPermOrgs();