/**Begin 收款处理 新增【成本中心】字段 **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_CAS_RECEIVINGBILLENTRY' AND KSQL_COL_NAME IN ('FCOSTCENTERID')) 
 ALTER TABLE T_CAS_RECEIVINGBILLENTRY ADD (FCOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_CAS_RECBILLCHANGENTRY' AND KSQL_COL_NAME IN ('FCOSTCENTERID')) 
 ALTER TABLE T_CAS_RECBILLCHANGENTRY ADD (FCOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
 
 