package com.agileboot.common.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.Collection;

/**
 * @Author cuiJiaWang
 * @Create 2025-09-22 16:41
 */
public interface BaseMapperDelete<T> extends BaseMapper<T> {

    /**
     * 物理删除
     */
    int deleteAbsoluteById(Serializable id);

    /**
     * 批量物理删除
     */
    int deleteAbsoluteByIds(@Param(Constants.COLL) Collection<?> idList);
}
