IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_APPLYPROJECTBILL_S' AND KSQL_COL_NAME ='FAVAILABLEAMOUNT')
ALTER TABLE T_ER_APPLYPROJECTBILL_S ADD (FAVAILABLEAMOUNT DECIMAL(23,10) DEFAULT 0 NOT NULL);

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_COSTESTIMATEBILL' AND KSQL_COL_NAME ='FISONWAY')
ALTER TABLE T_ER_COSTESTIMATEBILL ADD (FISONWAY CHAR(1) DEFAULT '0' NOT NULL);







