package com.eactive.eai.rms.onl.manage.serviceinfo.eaimsg;

public class EaiMsgMigQuery {

	public static final String MIG_DEL_HE01 = "DELETE FROM %s.TSEAIHE01 WHERE EAISVCNAME = '%s';";
    public static final String MIG_INS_HE01 = "INSERT INTO %s.TSEAIHE01 "
    		+ "( EAISVCNAME"
			+ ", EAIBZWKDSTCD"
			+ ", SVCHMSEONOT"
			+ ", SVCMOTIVUSEDSTCD"
			+ ", SVCPRCESDSTICNAME"
			+ ", FLOWCTRLROUTNAME"
			+ ", INTGRADSTICNAME"
			+ ", SVCBFCLMNLOGYN"
			+ ", GSTATSYSADPTRBZWKGROUPNAME"
			+ ", SEVRLOGLVELNO"
			+ ", SVCLOGLVELNO"
			+ ", ERREAISVCNAME"
			+ ", DMNDERRCHNGIDNAME"
			+ ", DMNDERRFLDNAME"
			+ ", RSPNSERRCHNGIDNAME"
			+ ", RSPNSERRFLDNAME"
			+ ", EAISVCDESC"
			+ ", EAISEVRDSTCD"
			+ ", MODFIMGTSTUSDSTCD"
			+ ", EAILASTAMNDYMS"
			+ ", EAIGROUPCOCD"
			+ ", TRANTYPE "
			+ ") VALUES ( '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s, %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s' );";
    public static final String MIG_DEL_HE02 = "DELETE FROM %s.TSEAIHE02 WHERE EAISVCNAME = '%s';";
    public static final String MIG_INS_HE02 = "INSERT INTO %s.TSEAIHE02 "
    		+ "( EAISVCNAME"
			+ ", SVCPRCSSNO"
			+ ", PSVINTFACDSTICNAME"
			+ ", PSVSYSBZWKDSTCD"
			+ ", PSVSYSIDNAME"
			+ ", PSVSYSSVCDSTICNAME"
			+ ", PSVSYSADPTRBZWKGROUPNAME"
			+ ", FLOVRYN"
			+ ", CHNGEONOT"
			+ ", CHNGMSGIDNAME"
			+ ", BASCRSPNSMSGCMPRCTNT"
			+ ", BASCRSPNSCHNGEONOT"
			+ ", BASCRSPNSCHNGMSGIDNAME"
			+ ", ERRRSPNSMSGCMPRCTNT"
			+ ", ERRRSPNSCHNGEONOT"
			+ ", ERRRSPNSCHNGMSGIDNAME"
			+ ", NEXTSVCPRCSSNO"
			+ ", OUTBNDROUTNAME"
			+ ", TOUTVAL"
			+ ", CMPENSVCPRCSSDSTICNAME"
			+ ", SUPPLDELYN"
			+ ", HDRCTRLDSTCD"
			+ ", HDRREFCLSNAME"
			+ ", RESTOPTION "
    		+ ") VALUES ( '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s, '%s', %s, '%s', '%s', '%s', '%s', '%s' );";
    public static final String MIG_DEL_MS02 = "DELETE FROM %s.TSEAIMS02 WHERE EAISVCNAME = '%s';";
    public static final String MIG_INS_MS02 = "INSERT INTO %s.TSEAIMS02 "
    		+ "( EAISVCNAME"
    		+ ", SVCPRCSSNO"
    		+ ", REFMSGIDNO"
    		+ ", REFMSGIDNAME "
    		+ ") VALUES ( '%s', %s, %s, '%s' );";
    public static final String MIG_DEL_FR01 = "DELETE FROM %s.TSEAIFR01 WHERE EAISVCNAME = '%s';";
    public static final String MIG_INS_FR01 = "INSERT INTO %s.TSEAIFR01 "
    		+ "( EAISVCNAME"
    		+ ", SVCPRCSSNO"
    		+ ", RULESERNO"
    		+ ", RSULTPRCSSNO"
    		+ ", RULEFLDGROUPNAME"
    		+ ", RULEFLDNAME"
    		+ ", CMPRCTNT "
    		+ ") VALUES ( '%s', %s, %s, %s, '%s', '%s', '%s' );";
}
