类 MybatisFlexUtil
java.lang.Object
com.elitesland.ystdms.sys.util.MybatisFlexUtil
MybatisFlex工具类.
-
方法概要
修饰符和类型方法说明static com.mybatisflex.core.table.ColumnInfogetColumnInfoByColumnName(@NotNull com.mybatisflex.core.table.TableInfo tableInfo, @NotBlank String columnName) 通过表的列名获取表的列信息static com.mybatisflex.core.table.ColumnInfogetColumnInfoByField(@NotNull com.mybatisflex.core.table.TableInfo tableInfo, @NotBlank String fieldName) 通过实体类字段获取表的列信息static com.mybatisflex.core.query.QueryColumngetQueryColumnByColumnName(@NotNull com.mybatisflex.core.table.TableInfo tableInfo, @NotBlank String columnName) 通过表字段名获取表的查询列static com.mybatisflex.core.query.QueryColumngetQueryColumnByField(@NotNull com.mybatisflex.core.table.TableInfo tableInfo, @NotBlank String fieldName) 通过实体类字段获取表的查询列static com.mybatisflex.core.table.TableInfogetTableInfoByEntityClass(@NotNull Class<?> entityClass) 通过实体类获取表信息static com.mybatisflex.core.table.TableInfogetTableInfoByTableName(@NotBlank String tableName) 通过表名获取表信息
-
方法详细资料
-
getTableInfoByEntityClass
public static com.mybatisflex.core.table.TableInfo getTableInfoByEntityClass(@NotNull @NotNull Class<?> entityClass) 通过实体类获取表信息- 参数:
entityClass-- 返回:
-
getTableInfoByTableName
public static com.mybatisflex.core.table.TableInfo getTableInfoByTableName(@NotBlank @NotBlank String tableName) 通过表名获取表信息- 参数:
tableName-- 返回:
-
getColumnInfoByField
public static com.mybatisflex.core.table.ColumnInfo getColumnInfoByField(@NotNull @NotNull com.mybatisflex.core.table.TableInfo tableInfo, @NotBlank @NotBlank String fieldName) 通过实体类字段获取表的列信息- 参数:
tableInfo-fieldName-- 返回:
-
getColumnInfoByColumnName
public static com.mybatisflex.core.table.ColumnInfo getColumnInfoByColumnName(@NotNull @NotNull com.mybatisflex.core.table.TableInfo tableInfo, @NotBlank @NotBlank String columnName) 通过表的列名获取表的列信息- 参数:
tableInfo-columnName-- 返回:
-
getQueryColumnByField
public static com.mybatisflex.core.query.QueryColumn getQueryColumnByField(@NotNull @NotNull com.mybatisflex.core.table.TableInfo tableInfo, @NotBlank @NotBlank String fieldName) 通过实体类字段获取表的查询列- 参数:
tableInfo-fieldName-- 返回:
-
getQueryColumnByColumnName
public static com.mybatisflex.core.query.QueryColumn getQueryColumnByColumnName(@NotNull @NotNull com.mybatisflex.core.table.TableInfo tableInfo, @NotBlank @NotBlank String columnName) 通过表字段名获取表的查询列- 参数:
tableInfo-columnName-- 返回:
-