类 ItemValues
java.lang.Object
com.gdxsoft.easyweb.script.display.ItemValues
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明calcNumberScale(Object ori, double numberScale) 计算数字除以比例后的数值getCacheValue(String name, String dataFieldName) getClassValue(String name, String dataFieldName) com.gdxsoft.easyweb.utils.msnet.MListcom.gdxsoft.easyweb.utils.msnet.MList获取上次提取的数据getRefTable(String sql, String[] keys) 获取RefTablegetRvValue(String name, String dataFieldName) getSqlUniqueExp(String sql) 获取SQL的唯一表达式,将参数复到SQL尾部,避免参数造成不一致getTableValue(UserXItem userXItem) getTableValue(String dataFieldName, String dataType) Get the field value from the all tablesgetValueByTag(String name) 根据后缀获取值, 例如替换脚本中参数,如果参数不存在,则保留原始参数替换逻辑表达式中参数,如果参数不存在,则替换为""replaceParameters(String s1, boolean isHtml) 替换内容的@参数,如果参数值为null,则不替换replaceParameters(String s1, boolean isHtml, boolean allReplace) 替换内容的@参数,如果参数值为null,则替换成“”replaceParameters(String s1, boolean isHtml, boolean allReplace, boolean isMoneyFormat) 替换参数voidsetDTTables(com.gdxsoft.easyweb.utils.msnet.MList tables) voidsetHtmlClass(HtmlClass htmlClass) voidsetListFrameTable(DTTable listFrameTable) voidsetUObjectValue(UObjectValue objectValue) voidsetUserClass(Object userClass)
-
构造器详细资料
-
ItemValues
public ItemValues()
-
-
方法详细资料
-
getLastValue
获取上次提取的数据- 返回:
- the _LastValue
-
getSqlUniqueExp
获取SQL的唯一表达式,将参数复到SQL尾部,避免参数造成不一致- 参数:
sql-- 返回:
-
getRefTable
获取RefTable- 参数:
sql-keys-- 返回:
-
getValue
- 抛出:
Exception
-
calcNumberScale
计算数字除以比例后的数值- 参数:
ori-numberScale- 百/千/万/十万/百万/千万- 返回:
-
getTableValue
- 抛出:
Exception
-
getValueByTag
根据后缀获取值, 例如- 参数:
name- 参数名- 返回:
-
getValue
- 抛出:
Exception
-
replaceParameters
替换内容的@参数,如果参数值为null,则不替换- 参数:
s1- 原始字符isHtml- 是否保留html格式- 返回:
- 替换后的字符
- 抛出:
Exception
-
replaceParameters
替换内容的@参数,如果参数值为null,则替换成“”- 参数:
s1- 原始字符isHtml- 是否保留html格式allReplace- 是否全替换- 返回:
- 替换后的字符
- 抛出:
Exception
-
replaceLogicParameters
替换逻辑表达式中参数,如果参数不存在,则替换为""- 参数:
s1-- 返回:
-
replaceJsParameters
替换脚本中参数,如果参数不存在,则保留原始参数- 参数:
s1-- 返回:
-
replaceParameters
public String replaceParameters(String s1, boolean isHtml, boolean allReplace, boolean isMoneyFormat) 替换参数- 参数:
s1-isHtml-allReplace-isMoneyFormat- 是否转换数字为货币表示- 返回:
-
getCacheValue
-
getTableValue
Get the field value from the all tables- 参数:
dataFieldName- the field namedataType- the return data type- 返回:
- the value
- 抛出:
Exception
-
getClassValue
-
getRvValue
-
getRequestValue
- 返回:
- the _RequestValue
-
getUserClass
- 返回:
- the _UserClass
-
setUserClass
- 参数:
userClass- the _UserClass to set
-
getDataConn
- 返回:
- the _DataConn
-
getUObjectValue
- 返回:
- the _UObjectValue
-
setUObjectValue
- 参数:
objectValue- the _UObjectValue to set
-
getDTTables
public com.gdxsoft.easyweb.utils.msnet.MList getDTTables()- 返回:
- the _DTTables
-
setDTTables
public void setDTTables(com.gdxsoft.easyweb.utils.msnet.MList tables) - 参数:
tables- the _DTTables to set
-
getListFrameTable
- 返回:
- the _ListFrameTable
-
setListFrameTable
- 参数:
listFrameTable- the _ListFrameTable to set
-
getSysParas
- 返回:
- the _SysParas
-
getHtmlClass
- 返回:
- the _HtmlClass
-
setHtmlClass
- 参数:
htmlClass- the _HtmlClass to set
-
getJSONObjects
public com.gdxsoft.easyweb.utils.msnet.MList getJSONObjects()
-