/** 对公报销单-收款信息分录添加字段
 *  （核销）源单id
 *  （核销）源单分录id
 *  （核销）源单编号
 */
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMACCINFO' AND KSQL_COL_NAME ='FRECSRCBILLID') 
 ALTER TABLE T_ER_PUBREIMACCINFO ADD (FRECSRCBILLID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMACCINFO' AND KSQL_COL_NAME ='FRECSRCENTRYID') 
 ALTER TABLE T_ER_PUBREIMACCINFO ADD (FRECSRCENTRYID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMACCINFO' AND KSQL_COL_NAME ='FRECSRCBILLNO') 
 ALTER TABLE T_ER_PUBREIMACCINFO ADD (FRECSRCBILLNO VARCHAR(200) DEFAULT ' ' NOT NULL );
