UPDATE t_er_planecheckingbill a ,T_ER_REQBILL b set a.fcompanyid =b.FCOMPANYID where a.foabillnum=b.fbillno;
UPDATE T_ER_HOTELCHECKINGBILL a ,T_ER_REQBILL b set a.fcompanyid =b.FCOMPANYID where a.foabillnum=b.fbillno;