public class SqlProviderUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
Spec_Comment_Not_Null |
static String |
Wrapper_Data |
static String |
Wrapper_Distinct_True |
static String |
Wrapper_Exists |
static String |
Wrapper_GroupBy_NotNull |
static String |
Wrapper_GroupBy_Var |
static String |
Wrapper_LastSql_NotNull |
static String |
Wrapper_LastSql_Var |
static String |
Wrapper_OrderBy_NotNull |
static String |
Wrapper_OrderBy_Var |
static String |
Wrapper_Page_Is_Null |
static String |
Wrapper_Page_Not_Null |
static String |
Wrapper_Paged_End_Offset |
static String |
Wrapper_Paged_Offset |
static String |
Wrapper_Paged_Size |
static String |
WRAPPER_PARAM_FORMAT
变量在xml文件中的占位符全路径表达式
例子: #{ew.wrapperData.parameters.variable_1}
|
static String |
Wrapper_Select_Not_Null |
static String |
Wrapper_Select_Var |
static String |
Wrapper_Update_Contain_Key |
static String |
Wrapper_UpdateStr_Not_Null |
static String |
Wrapper_UpdateStr_Var |
static String |
Wrapper_Where_NotNull |
static String |
Wrapper_Where_Var |
| 构造器和说明 |
|---|
SqlProviderUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
byPaged(DbType dbType,
WrapperData data,
String sql)
不同数据库分页查询
|
static <O> O |
getParas(Map map,
String paraName) |
static WrapperData |
getWrapperData(IWrapper wrapper) |
static WrapperData |
getWrapperData(Map map,
String paraName) |
static String |
listIndexEl(String prefix,
String property,
String index)
表达式 #{prefix[index].property} 构建
"#{" + prefix + "[" + index+ "]." + property + "}"
|
public static final String WRAPPER_PARAM_FORMAT
public static final String Wrapper_Data
public static final String Wrapper_Exists
public static final String Wrapper_Page_Is_Null
public static final String Wrapper_Page_Not_Null
public static final String Wrapper_Distinct_True
public static final String Wrapper_Select_Not_Null
public static final String Wrapper_Select_Var
public static final String Wrapper_UpdateStr_Not_Null
public static final String Wrapper_UpdateStr_Var
public static final String Wrapper_Update_Contain_Key
public static final String Wrapper_Where_NotNull
public static final String Wrapper_Where_Var
public static final String Wrapper_GroupBy_NotNull
public static final String Wrapper_GroupBy_Var
public static final String Wrapper_OrderBy_NotNull
public static final String Wrapper_OrderBy_Var
public static final String Wrapper_LastSql_NotNull
public static final String Wrapper_LastSql_Var
public static final String Wrapper_Paged_Offset
public static final String Wrapper_Paged_Size
public static final String Wrapper_Paged_End_Offset
public static WrapperData getWrapperData(Map map, String paraName)
public static WrapperData getWrapperData(IWrapper wrapper)
public static String listIndexEl(String prefix, String property, String index)
prefix - property - index - public static String byPaged(DbType dbType, WrapperData data, String sql)
dbType - 数据库类型sql - 非分页查询sqlCopyright © 2020. All rights reserved.