/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\ER_table.sql 增加火车订单字段 wenyue_chi **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_TRAINBILL_A' AND KSQL_COL_NAME ='FTICKETPRICE') 
 ALTER TABLE T_ER_TRAINBILL_A ADD (FTICKETPRICE DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_TRAINBILL_A' AND KSQL_COL_NAME ='FREFUNDAMOUNT') 
 ALTER TABLE T_ER_TRAINBILL_A ADD (FREFUNDAMOUNT DECIMAL(23,10) DEFAULT 0 NOT NULL );
/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\ER_table.sql **/
