/* 预付单新增合同名称 */
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PREPAYBILLENTRY' AND KSQL_COL_NAME ='FENTRYCONTRACTNAME')
ALTER TABLE T_ER_PREPAYBILLENTRY ADD (FENTRYCONTRACTNAME VARCHAR(200) DEFAULT ' ' );

/* 对公报销单新增合同名称 */
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMEXPDET' AND KSQL_COL_NAME ='FENTRYCONTRACTNAME')
ALTER TABLE T_ER_PUBREIMEXPDET ADD (FENTRYCONTRACTNAME NVARCHAR(200) DEFAULT ' ' );