Interface DeleteByIdsMapper<T>

Type Parameters:
T - 泛型
All Known Subinterfaces:
IdsMapper<T>, Mapper<T>

public interface DeleteByIdsMapper<T>
通用Mapper接口,根据ids删除
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
  • Method Details

    • deleteByIds

      @DeleteProvider(type=IdsProvider.class, method="dynamicSQL") int deleteByIds(String ids)
      根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
      Parameters:
      ids - 如 "1,2,3,4"
      Returns:
      the int 操作结果