public class IdsProvider extends MapperTemplate
ids 如 "1,2,3"
entityClassMap, mapperClass, mapperHelper, methodMap
Constructor and Description |
---|
IdsProvider(Class<?> mapperClass,
MapperHelper mapperHelper) |
Modifier and Type | Method and Description |
---|---|
String |
deleteByIds(org.apache.ibatis.mapping.MappedStatement ms)
根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
|
String |
selectByIds(org.apache.ibatis.mapping.MappedStatement ms)
根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段
|
addMethodMap, createSqlSource, dynamicSQL, getConfig, getEntityClass, getIDENTITY, getIDENTITY, isBEFORE, isCheckExampleEntityClass, isNotEmpty, setResultType, setSqlSource, setSqlSource, supportMethod, tableName
public IdsProvider(Class<?> mapperClass, MapperHelper mapperHelper)
Copyright © 2018. All rights reserved.