类 CommonSQLHelper
- java.lang.Object
-
- tech.codingless.core.plugs.mybaties3.helper.CommonSQLHelper
-
public class CommonSQLHelper extends Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCommonSQLHelper.ExecuteSql
-
构造器概要
构造器 构造器 说明 CommonSQLHelper()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static Stringchange2dbFormat(String string)static CommonSQLHelper.ExecuteSqlgenCountSqlSkipNullProperties(String companyId, BaseDO entity)static CommonSQLHelper.ExecuteSqlgenSelectSqlSkipNullProperties(String companyId, BaseDO entity, String orderColumn, OrderTypeEnum orderType, Integer limit, Integer offset)static StringgetDeleteLogicalWithCompanyIdSQL(Class<?> clazz)static StringgetDeleteSQL(Class<?> clazz)static StringgetDeleteWithCompanyIdSQL(Class<?> clazz)static StringgetGetSQL(Class<?> clazz)static StringgetGetSQLByCompanyId(Class<?> clazz)static StringgetInsertSQL(Object entity)static StringgetInsertSQLBatch(Object entity)static StringgetListByCompanySQL(Class<?> clazz)static StringgetListSQL(Class<?> clazz)static StringgetTableName(Class entity)static StringgetTableName(Object entity)static StringgetUpdateSQL(Class<?> clazz)static StringgetUpdateSQLWithCompanyId(Class<?> clazz)
-
-
-
方法详细资料
-
genSelectSqlSkipNullProperties
public static CommonSQLHelper.ExecuteSql genSelectSqlSkipNullProperties(String companyId, BaseDO entity, String orderColumn, OrderTypeEnum orderType, Integer limit, Integer offset) throws Exception
- 抛出:
Exception
-
genCountSqlSkipNullProperties
public static CommonSQLHelper.ExecuteSql genCountSqlSkipNullProperties(String companyId, BaseDO entity) throws Exception
- 抛出:
Exception
-
-