IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_OMOUTBILLENTRY' AND KSQL_COL_NAME ='FISREWORK') 
 ALTER TABLE T_IM_MDC_OMOUTBILLENTRY ADD (FISREWORK CHAR(1) DEFAULT ' ' NOT NULL );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_OMOUTBILLENTRY' AND KSQL_COL_NAME ='FLINETYPEID') 
 ALTER TABLE T_IM_MDC_OMOUTBILLENTRY ADD (FLINETYPEID BIGINT DEFAULT 0 NOT NULL );