package cn.com.victorysoft.business.analyze.service.condition;

import cn.com.victorysoft.business.analyze.entity.CstTableIndicator;

/**
 * 条件接口
 */
public interface Condition {

    /**
     * 构建SQL
     * @param indicator 指标
     * @param value 查询值，最多有2个
     * @return 查询条件SQL
     */
    String buildSql(CstTableIndicator indicator, String... value);
}
