/** 立项单和暂估单表头添加字段 **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_COSTESTIMATEBILL' AND KSQL_COL_NAME ='FISBEFORESHARE') 
 ALTER TABLE T_ER_COSTESTIMATEBILL ADD (FISBEFORESHARE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_COSTESTIMATEBILL' AND KSQL_COL_NAME ='FISSHARED') 
 ALTER TABLE T_ER_COSTESTIMATEBILL ADD (FISSHARED CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_APPLYPROJECTBILL' AND KSQL_COL_NAME ='FISBEFORESHARE') 
 ALTER TABLE T_ER_APPLYPROJECTBILL ADD (FISBEFORESHARE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_APPLYPROJECTBILL' AND KSQL_COL_NAME ='FISSHARED') 
 ALTER TABLE T_ER_APPLYPROJECTBILL ADD (FISSHARED CHAR(1) DEFAULT '0' NOT NULL );