Interface DeleteByIdListMapper<T,PK>
- Type Parameters:
T- 不能为空
- All Known Subinterfaces:
IdListMapper<T,PK>
public interface DeleteByIdListMapper<T,PK>
通用Mapper接口,根据idList删除
- Author:
- liuzh
-
Method Summary
Modifier and TypeMethodDescriptionintdeleteByIdList(List<PK> idList) 根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
-
Method Details
-
deleteByIdList
@DeleteProvider(type=IdListProvider.class, method="dynamicSQL") int deleteByIdList(@Param("idList") List<PK> idList) 根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段- Parameters:
idList-- Returns:
-