/* 对公报销单费用明细分录添加生成项目分摊单字段 */
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_er_pubreimexpdet' AND KSQL_COL_NAME ='fiscreateprojectcostshare') 
 ALTER TABLE t_er_pubreimexpdet ADD (fiscreateprojectcostshare char(1) DEFAULT 0 NOT NULL );