package com.eactive.eai.batch.rule.ruleinfo; 

import com.eactive.eai.common.dao.Keys;

public interface RuleInfoQuery 
{ 
    /* DB컬럼명 변경으로 인한 수정 - by kscheon
    public static final String GET_ALL_RULEINFO = 
        " select " +
        " RuleCode, Desc " + 
        " from " + Keys.TABLE_OWNER + "tseaibr04 ";
    */
    public static final String GET_ALL_RULEINFO = 
        " select " +
        " BjobBzwkPrcssDstcd, FlowRulePtrnDesc " + 
        " from " + Keys.TABLE_OWNER + "tseaibr04 ";
                        
    /**
     * 주어진 RULE CODE를 가지고 RuleInfo DB (" + Keys.TABLE_OWNER + "TSEAIBR04)에서 해당 RULE정보를 읽어낸다.
     */
    /* DB컬럼명 변경으로 인한 수정 - by kscheon
    public static final String GET_RULEINFO_BYCODE = 
        " select " +
        " RuleCode, Desc " + 
        " from " + Keys.TABLE_OWNER + "tseaibr04 " +
        " where RuleCode = ? " ;
    */
    public static final String GET_RULEINFO_BYCODE = 
        " select " +
        " BjobBzwkPrcssDstcd, FlowRulePtrnDesc " + 
        " from " + Keys.TABLE_OWNER + "tseaibr04 " +
        " where BjobBzwkPrcssDstcd = ? " ;
            
} 
