--对公报销单-费用明细增加iscreateappaycount（生成应付次数）
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMEXPDET' AND KSQL_COL_NAME ='FISCREATEAPPAYCOUNT')
ALTER TABLE T_ER_PUBREIMEXPDET ADD (FISCREATEAPPAYCOUNT INT DEFAULT 0 NOT NULL );