package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.PromotionCouponRule;

/**
 * 优惠券规则Service接口
 *
 * @author ruoyi
 * @date 2024-05-30
 */
public interface IPromotionCouponRuleService extends IService<PromotionCouponRule>
{
    /**
     * 根据批次ID查询券规则
     *
     * @param batchId 批次ID
     * @return 券规则
     */
    PromotionCouponRule selectRuleByBatchId(Long batchId);
}
