接口 DeleteByPrimaryKeyMapper<T>

  • 类型参数:
    T - 不能为空
    所有已知子接口:
    BaseDeleteMapper<T>, BaseMapper<T>, Mapper<T>

    public interface DeleteByPrimaryKeyMapper<T>
    通用Mapper接口,删除
    作者:
    liuzh
    • 方法详细资料

      • deleteByPrimaryKey

        @DeleteProvider(type=BaseDeleteProvider.class,
                        method="dynamicSQL")
        int deleteByPrimaryKey​(Object key)
        根据主键字段进行删除,方法参数必须包含完整的主键属性
        参数:
        key -
        返回: