Package tk.mybatis.mapper.provider
Class IdsProvider
java.lang.Object
tk.mybatis.mapper.mapperhelper.MapperTemplate
tk.mybatis.mapper.provider.IdsProvider
通过 ids 字符串的各种操作
ids 如 "1,2,3"
- Author:
- liuzh
-
Field Summary
Fields inherited from class tk.mybatis.mapper.mapperhelper.MapperTemplate
entityClassMap, mapperClass, mapperHelper, methodMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteByIds(org.apache.ibatis.mapping.MappedStatement ms) 根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段selectByIds(org.apache.ibatis.mapping.MappedStatement ms) 根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段Methods inherited from class tk.mybatis.mapper.mapperhelper.MapperTemplate
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckExampleEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
-
Constructor Details
-
IdsProvider
-
-
Method Details
-
deleteByIds
根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段- Parameters:
ms-- Returns:
-
selectByIds
根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段- Parameters:
ms-- Returns:
-