|
|
@ -3,10 +3,10 @@ package com.fr.design.formula; |
|
|
|
import com.fr.base.Parameter; |
|
|
|
import com.fr.base.Parameter; |
|
|
|
import com.fr.base.ParameterConfig; |
|
|
|
import com.fr.base.ParameterConfig; |
|
|
|
import com.fr.design.DesignModelAdapter; |
|
|
|
import com.fr.design.DesignModelAdapter; |
|
|
|
|
|
|
|
import com.fr.general.web.ParameterConstants; |
|
|
|
import com.fr.plugin.ExtraClassManager; |
|
|
|
import com.fr.plugin.ExtraClassManager; |
|
|
|
import com.fr.script.ScriptConstants; |
|
|
|
import com.fr.script.ScriptConstants; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.Constants; |
|
|
|
|
|
|
|
import com.fr.stable.fun.BuiltInParametersProvider; |
|
|
|
import com.fr.stable.fun.BuiltInParametersProvider; |
|
|
|
import com.fr.stable.script.CalculatorProvider; |
|
|
|
import com.fr.stable.script.CalculatorProvider; |
|
|
|
|
|
|
|
|
|
|
@ -24,11 +24,13 @@ public abstract class VariableResolverAdapter implements VariableResolver { |
|
|
|
* @return 内置参数 |
|
|
|
* @return 内置参数 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public String[] resolveCurReportVariables() { |
|
|
|
public String[] resolveCurReportVariables() { |
|
|
|
String [] variables = new String[] { ScriptConstants.SUMMARY_TAG + "page_number", |
|
|
|
String[] variables = new String[]{ |
|
|
|
|
|
|
|
ScriptConstants.SUMMARY_TAG + "page_number", |
|
|
|
ScriptConstants.SUMMARY_TAG + "totalPage_number", |
|
|
|
ScriptConstants.SUMMARY_TAG + "totalPage_number", |
|
|
|
// 下面是权限相关的参数
|
|
|
|
// 下面是权限相关的参数
|
|
|
|
ScriptConstants.DETAIL_TAG + Constants.P.PRIVILEGE_USERNAME, ScriptConstants.DETAIL_TAG + Constants.P.PRIVILEGE_AUTHORITY, |
|
|
|
ScriptConstants.DETAIL_TAG + ParameterConstants.FINE_USERNAME, |
|
|
|
ScriptConstants.DETAIL_TAG + Constants.P.PRIVILEGE_DEPARTMETN_AND_POST, |
|
|
|
ScriptConstants.DETAIL_TAG + ParameterConstants.FINE_ROLE, |
|
|
|
|
|
|
|
ScriptConstants.DETAIL_TAG + ParameterConstants.FINE_POSITION, |
|
|
|
// 空值参数
|
|
|
|
// 空值参数
|
|
|
|
"NULL", "NOFILTER", |
|
|
|
"NULL", "NOFILTER", |
|
|
|
// request变量
|
|
|
|
// request变量
|
|
|
|