package shop.alien.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import shop.alien.entity.store.LifeDiscountCouponUnavailableRules;

import java.util.List;

/**
 * <p>
 * 优惠券禁用规则表 Mapper 接口
 * </p>
 *
 * @author ssk
 * @since 2025-02-08
 */
public interface LifeDiscountCouponUnavailableRulesMapper extends BaseMapper<LifeDiscountCouponUnavailableRules> {

    /**
     * 按优惠券模板 id 查询禁用规则（含逻辑删除）
     */
    List<LifeDiscountCouponUnavailableRules> listByDiscountCouponIdIncludeDeleted(@Param("discountCouponId") Integer discountCouponId);
}
