package com.ruoyi.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.basic.domain.question.QuestionRule;

import java.util.List;

public interface QuestionRuleService extends IService<QuestionRule> {

    /**
     * 获取问卷启用的规则列表（按优先级排序）
     * @param surveyId 问卷ID
     * @return 规则列表
     */
    List<QuestionRule> getEnabledRulesBySurveyId(Long surveyId);
}
