- saveBatch(List<T>) - 接口 中的方法com.github.fartherp.framework.database.service.GenericService
-
批量保存
- saveBatch(List<T>) - 类 中的方法com.github.fartherp.framework.database.service.impl.GenericSqlMapServiceImpl
-
- saveEntity(T) - 接口 中的方法com.github.fartherp.framework.database.service.GenericService
-
保存对象
- saveEntity(T) - 类 中的方法com.github.fartherp.framework.database.service.impl.GenericSqlMapServiceImpl
-
- saveEntitySelective(T) - 接口 中的方法com.github.fartherp.framework.database.service.GenericService
-
保存对象不为空的属性值(其余为数据库的默认值)
- saveEntitySelective(T) - 类 中的方法com.github.fartherp.framework.database.service.impl.GenericSqlMapServiceImpl
-
- saveOrUpdate(T) - 接口 中的方法com.github.fartherp.framework.database.service.GenericService
-
保存或更新(如果对象已存在)
- saveOrUpdate(T) - 类 中的方法com.github.fartherp.framework.database.service.impl.GenericSqlMapServiceImpl
-
- saveOrUpdateSelective(T) - 接口 中的方法com.github.fartherp.framework.database.service.GenericService
-
保存或更新(如果对象已存在)
- saveOrUpdateSelective(T) - 类 中的方法com.github.fartherp.framework.database.service.impl.GenericSqlMapServiceImpl
-
- SEARCHABLE - 类 中的静态变量com.github.fartherp.framework.database.mybatis.plugin.search.SearchableInterceptor
-
- Searchable - com.github.fartherp.framework.database.mybatis.plugin.search.vo中的类
-
查询条件接口
User: hyssop
Date: 16-1-16 上午8:47
Version: 1.0
- Searchable() - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.Searchable
-
- SearchableConvertUtils - com.github.fartherp.framework.database.mybatis.plugin.search.utils中的类
-
Author: hyssop
Date: 16-1-15 上午11:46
Version: 1.0
- SearchableConvertUtils() - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.utils.SearchableConvertUtils
-
- SearchableInterceptor - com.github.fartherp.framework.database.mybatis.plugin.search中的类
-
查询插件 根据searchble接口的查询条件动态调整查询sql完成查询(包括了条件、排序和分页条件)
Author: hassop
Date: 2016/9/06
- SearchableInterceptor() - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.SearchableInterceptor
-
- SearchException - com.github.fartherp.framework.database.mybatis.plugin.search.exception中的异常错误
-
author: hyssop
Date: 16-1-17 上午11:43
Version: 1.0
- SearchException(String) - 异常错误 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.exception.SearchException
-
- SearchException(String, Throwable) - 异常错误 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.exception.SearchException
-
- SearchFilter - com.github.fartherp.framework.database.mybatis.plugin.search.filter中的接口
-
查询添加标识接口
User: hyssop
Date: 16-5-24 下午2:54
Version: 1.0
- SearchOperator - com.github.fartherp.framework.database.mybatis.plugin.search.enums中的枚举
-
查询操作符
- SearchRequest - com.github.fartherp.framework.database.mybatis.plugin.search.vo中的类
-
查询条件(包括分页和排序)
User: hyssop
Date: 16-1-15 上午7:29
Version: 1.0
- SearchRequest(Map<String, Object>) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
- SearchRequest() - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
- SearchRequest(Map<String, Object>, PageRequest) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
- SearchRequest(Map<String, Object>, Sort) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
- SearchRequest(Map<String, Object>, PageRequest, Sort) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
根据查询参数拼Search
查询参数格式:property_op=value 或 customerProperty=value
customerProperty查找规则是:1、先查找domain的属性,2、如果找不到查找domain上的SearchPropertyMappings映射规则
属性、操作符之间用_分割,op可省略/或custom,省略后值默认为custom,即程序中自定义
如果op=custom,property也可以自定义(即可以与domain的不一样),
- selectAll() - 接口 中的方法com.github.fartherp.framework.database.dao.DaoMapper
-
find all records
- selectByPrimaryKey(ID) - 接口 中的方法com.github.fartherp.framework.database.dao.DaoMapper
-
find entity by primary key
- separator - 类 中的静态变量com.github.fartherp.framework.database.mybatis.plugin.search.filter.CustomCondition
-
- setConversionService(ConversionService) - 类 中的静态方法com.github.fartherp.framework.database.mybatis.plugin.search.utils.SearchableConvertUtils
-
设置用于类型转换的conversionService
把如下代码放入spring配置文件即可
- setConverted(boolean) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.vo.Searchable
-
- setCurrentPage(int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BasePagination
-
- setCurrentPage(int) - 接口 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.Pagination
-
设置当前页
- setDelegeteSqlResolver(AbstractSqlResolverOuter) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.SqlFacade
-
- setDialectClass(String) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BaseInterceptor
-
- setFirstPage(int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BasePagination
-
- setHasNext(boolean) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BasePagination
-
- setLimit(int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BasePagination
-
- setLimit(int) - 接口 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.Pagination
-
设置每页大小
- setMaxPageIndexNumber(int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BasePagination
-
- setMaxPageIndexNumber(int) - 接口 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.Pagination
-
设置页码标签列表大小
- setOperator(SearchOperator) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.filter.CustomCondition
-
- setPage(Pagination) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.vo.Searchable
-
- setPage(int, int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.vo.Searchable
-
- setPage(PageRequest) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
- setPage(int, int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
- setPage(Pagination) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
- setPageable(StringBuilder, Searchable, Dialect) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.AbstractSqlResolverInter
-
- setPageable(StringBuilder, Searchable, Dialect) - 接口 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.SqlResolver
-
- setParameters(MappedStatement, BoundSql, Object) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.monitor.SqlMonitorManager
-
set parameters.
- setParameters(PreparedStatement, MappedStatement, BoundSql, Object) - 类 中的静态方法com.github.fartherp.framework.database.mybatis.plugin.page.SqlHelper
-
对SQL参数(?)
- setProperties(Properties) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.monitor.SqlMonitorManager
-
- setProperties(Properties) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BaseInterceptor
-
- setRows(List<T>) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BasePagination
-
- setRows(List<T>) - 接口 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.Pagination
-
设置该页数据
- setSearchProperty(String) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.filter.CustomCondition
-
- setSort(Sort) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.vo.Searchable
-
- setSort(Sort) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.vo.SearchRequest
-
- setSqlPattern(String) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BaseInterceptor
-
- setTotal(int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.BasePagination
-
- setTotal(int) - 接口 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.Pagination
-
设置总页数
- setValue(Object) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.filter.CustomCondition
-
- setValues(StringBuilder, SearchFilter, int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.DefaultSqlResolver.ResolveSelf
-
- setValues(StringBuilder, List<SearchFilter>, int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.DefaultSqlResolver.ResolveWithAndFilters
-
- setValues(StringBuilder, SearchFilter, int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.DefaultSqlResolver.ResolveWithAndFilters
-
- setValues(StringBuilder, List<SearchFilter>, int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.DefaultSqlResolver.ResolveWithOrFilters
-
- setValues(StringBuilder, SearchFilter, int) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.DefaultSqlResolver.ResolveWithOrFilters
-
- setValues(StringBuilder, Searchable) - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.DefaultSqlResolver
-
- setValues(StringBuilder, Searchable) - 接口 中的方法com.github.fartherp.framework.database.mybatis.plugin.search.resolver.SqlResolver
-
根据search给query赋值及设置分页信息
- sort - 类 中的变量com.github.fartherp.framework.database.mybatis.plugin.search.vo.Searchable
-
- Sort - com.github.fartherp.framework.database.mybatis.plugin.search.vo中的类
-
- Sort(Sort.Order...) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.Sort
-
- Sort(List<Sort.Order>) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.Sort
-
- Sort(String...) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.Sort
-
- Sort(Sort.Direction, String...) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.Sort
-
- Sort(Sort.Direction, List<String>) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.Sort
-
- Sort.Direction - com.github.fartherp.framework.database.mybatis.plugin.search.vo中的枚举
-
Enumeration for sort directions.
- Sort.Order - com.github.fartherp.framework.database.mybatis.plugin.search.vo中的类
-
- Sort.Order(Sort.Direction, String) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.Sort.Order
-
- Sort.Order(String) - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.vo.Sort.Order
-
- SqlEvent - com.github.fartherp.framework.database.mybatis.orm中的接口
-
Created by IntelliJ IDEA.
- SqlFacade - com.github.fartherp.framework.database.mybatis.plugin.search中的类
-
setParameters 设置参数 getCount 查询总记录数 generatePageSql 生成分页查询SQL
Author: CK
Date: 2015/6/14
- SqlFacade() - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.search.SqlFacade
-
- SqlHelper - com.github.fartherp.framework.database.mybatis.plugin.page中的类
-
Created by IntelliJ IDEA .
- SqlHelper() - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.page.SqlHelper
-
- SqlMapper - com.github.fartherp.framework.database.mybatis.annotation中的注释类型
-
Created by IntelliJ IDEA.
- SqlMonitorManager - com.github.fartherp.framework.database.mybatis.plugin.monitor中的类
-
Created by IntelliJ IDEA.
- SqlMonitorManager() - 类 的构造器com.github.fartherp.framework.database.mybatis.plugin.monitor.SqlMonitorManager
-
- sqlPattern - 类 中的变量com.github.fartherp.framework.database.mybatis.plugin.page.BaseInterceptor
-
- sqlResolver - 类 中的变量com.github.fartherp.framework.database.mybatis.plugin.search.resolver.DelegeteSqlResolver
-
- SqlResolver - com.github.fartherp.framework.database.mybatis.plugin.search.resolver中的接口
-
Created by IntelliJ IDEA .
- supportsLimit() - 接口 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.dialect.Dialect
-
数据库本身是否支持分页当前的分页查询方式 如果数据库不支持的话,则不进行数据库分页
- supportsLimit() - 类 中的方法com.github.fartherp.framework.database.mybatis.plugin.page.dialect.MySQLDialect
-