-- 费用项目映射增加业务事项、业务分类、报账类型
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REL_EXP_RATETYPE' AND KSQL_COL_NAME ='FBIZITEM')
 ALTER TABLE T_ER_REL_EXP_RATETYPE ADD (FBIZITEM BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REL_EXP_RATETYPE' AND KSQL_COL_NAME ='FPROJECTTYPE')
ALTER TABLE T_ER_REL_EXP_RATETYPE ADD (FPROJECTTYPE BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REL_EXP_RATETYPE' AND KSQL_COL_NAME ='FREIMBURSETYPE')
ALTER TABLE T_ER_REL_EXP_RATETYPE ADD (FREIMBURSETYPE VARCHAR(30) DEFAULT ' ' NOT NULL );