-- 订单总表添加 列
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_ALLORDERBILL' AND KSQL_COL_NAME IN ('FBILLAUDITSTATUS'))
ALTER TABLE T_ER_ALLORDERBILL ADD (FBILLAUDITSTATUS VARCHAR(10) DEFAULT ' ' NOT NULL  );

-- 用车订单添加列
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_VEHICLEBILL' AND KSQL_COL_NAME IN ('FALLORDERBASEID'))
ALTER TABLE T_ER_VEHICLEBILL ADD (FALLORDERBASEID BIGINT DEFAULT 0 NOT NULL  );
