-- 账单池记账信息增加大票小报字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_BILLINGPOOL_VOUCHER' AND KSQL_COL_NAME IN ('FISSMALLREIM'))
ALTER TABLE T_ER_BILLINGPOOL_VOUCHER ADD (FISSMALLREIM CHAR(1) DEFAULT '0' NOT NULL );

-- 对公报销单单头增加大票小报字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMBILL_A' AND KSQL_COL_NAME IN ('FISSMALLREIM'))
ALTER TABLE T_ER_PUBREIMBILL_A ADD (FISSMALLREIM CHAR(1) DEFAULT '0' NOT NULL );