/*添加费用项目字段*/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_EXPENSESHARERULE' AND KSQL_COL_NAME ='FENTRYEXPENSEITEM')
  ALTER TABLE T_ER_EXPENSESHARERULE ADD (FENTRYEXPENSEITEM BIGINT DEFAULT 0 NOT NULL);

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_DAILYRESHARERULE' AND KSQL_COL_NAME ='FENTRYEXPENSEITEM')
  ALTER TABLE T_ER_DAILYRESHARERULE ADD (FENTRYEXPENSEITEM BIGINT DEFAULT 0 NOT NULL);

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBLICRESHARERULE' AND KSQL_COL_NAME ='FENTRYEXPENSEITEM')
  ALTER TABLE T_ER_PUBLICRESHARERULE ADD (FENTRYEXPENSEITEM BIGINT DEFAULT 0 NOT NULL);

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_TRIPRESHARERULE' AND KSQL_COL_NAME ='FENTRYEXPENSEITEM')
  ALTER TABLE T_ER_TRIPRESHARERULE ADD (FENTRYEXPENSEITEM BIGINT DEFAULT 0 NOT NULL);
