Interface DeleteByIdListMapper<T,PK>
- Type Parameters:
T- 泛型PK- 主键
- All Known Subinterfaces:
IdListMapper<T,PK>
public interface DeleteByIdListMapper<T,PK>
通用Mapper接口,根据idList删除
- Since:
- Java 17+
- Author:
- Kimi Liu
-
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:
- the int
-