IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_USEORGDETAIL' AND KSQL_COL_NAME IN ('FBOID')) 
 ALTER TABLE T_HAOS_USEORGDETAIL ADD (FBOID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_MULDIMENDETAIL' AND KSQL_COL_NAME IN ('FBOID')) 
 ALTER TABLE T_HAOS_MULDIMENDETAIL ADD (FBOID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_USEORGDETAILHIS' AND KSQL_COL_NAME IN ('FBOID')) 
 ALTER TABLE T_HAOS_USEORGDETAILHIS ADD (FBOID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_MULDIMENDETAILHIS' AND KSQL_COL_NAME IN ('FBOID')) 
 ALTER TABLE T_HAOS_MULDIMENDETAILHIS ADD (FBOID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_ORGUSESTAFF' AND KSQL_COL_NAME IN ('FBOID')) 
 ALTER TABLE T_HAOS_ORGUSESTAFF ADD (FBOID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HAOS_MULDIMUSESTAFF' AND KSQL_COL_NAME IN ('FBOID')) 
 ALTER TABLE T_HAOS_MULDIMUSESTAFF ADD (FBOID BIGINT DEFAULT 0 NOT NULL );