Package com.imyeyu.spring.util
Class RawSQLProvider
java.lang.Object
com.imyeyu.spring.util.BaseSQLProvider
com.imyeyu.spring.util.SQLProvider
com.imyeyu.spring.util.RawSQLProvider
原始 Mapper SQL 代理器
- Since:
- 2026-01-05 13:00
- Author:
- 夜雨
-
Nested Class Summary
Nested classes/interfaces inherited from class com.imyeyu.spring.util.BaseSQLProvider
BaseSQLProvider.EntityMeta, BaseSQLProvider.FieldColumn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription根据 ID 查询selectAll(org.apache.ibatis.builder.annotation.ProviderContext context) 查询全部数据selectAllByExample(Object entity, Logic logic) 根据实体非空字段使用等号查询selectByExample(Object entity, Logic logic) 根据实体非空字段使用等号查询Methods inherited from class com.imyeyu.spring.util.SQLProvider
countByPage, delete, deleteAllByExample, destroy, destroyAllByExample, insert, selectByPage, update, updateSelectiveMethods inherited from class com.imyeyu.spring.util.BaseSQLProvider
appendOrderBy, appendPageConditions, appendSoftDeleteCondition, buildCountByPageSQL, buildDeleteAllByExampleSQL, buildDeleteSQL, buildDestroyAllByExampleSQL, buildDestroySQL, buildExampleConditions, buildInsertSQL, buildSelectAllByExampleSQL, buildSelectByIdSQL, buildSelectByPageSQL, buildUpdateSelectiveSQL, buildUpdateSQL, getEntityMeta, getEntityMeta
-
Constructor Details
-
RawSQLProvider
public RawSQLProvider()
-
-
Method Details
-
selectAll
Description copied from class:SQLProvider查询全部数据- Overrides:
selectAllin classSQLProvider- Parameters:
context- 代理器上下文- Returns:
- SQL
-
select
Description copied from class:SQLProvider根据 ID 查询- Overrides:
selectin classSQLProvider- Parameters:
context- 代理器上下文id- ID- Returns:
- SQL
-
selectByExample
Description copied from class:SQLProvider根据实体非空字段使用等号查询- Overrides:
selectByExamplein classSQLProvider- Parameters:
entity- 实体logic- 条件连接逻辑- Returns:
- SQL
-
selectAllByExample
Description copied from class:SQLProvider根据实体非空字段使用等号查询- Overrides:
selectAllByExamplein classSQLProvider- Parameters:
entity- 实体logic- 条件连接逻辑- Returns:
- SQL
-