package shop.alien.mapper;

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

import java.util.List;

/**
 * <p>
 * 优惠券时间段规则表 Mapper 接口
 * </p>
 *
 * @author zhangchen
 * @since 2025-02-08
 */
public interface LifeDiscountCouponQuantumRulesMapper extends BaseMapper<LifeDiscountCouponQuantumRules> {

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