 /**Begin D:\PDM_UPGRADE\PDM1\BEI_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_BANKPAYINGBILL' AND KSQL_COL_NAME IN ('FNETBANKACCTID'))
 ALTER TABLE T_BEI_BANKPAYINGBILL ADD (FNETBANKACCTID BIGINT DEFAULT 0 NOT NULL );

/**End D:\PDM_UPGRADE\PDM1\BEI_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_ELECRECEIPT_E' AND KSQL_COL_NAME IN ('FSCORGID'))
 ALTER TABLE T_BEI_ELECRECEIPT_E ADD (FSCORGID BIGINT DEFAULT 0 NOT NULL );