package com.usky.rule.mapper;

import com.usky.rule.domain.RuleEngineCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 规则条件字典，供条件下拉；tenantId 为空时不按租户过滤
 */
public interface RuleEngineConditionMapper {
    List<RuleEngineCondition> selectAll();
    List<RuleEngineCondition> selectByType(@Param("type") Integer type);
}
