package com.common.mapper;

import com.common.entity.AnalysisGroupBy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 分组规则配置Mapper
 */
@Mapper
public interface AnalysisGroupByMapper {

    /**
     * 根据规则ID查询分组配置
     *
     * @param ruleId 规则ID
     * @return 分组配置列表
     */
    List<AnalysisGroupBy> selectByRuleId(@Param("ruleId") String ruleId);
}
