UPDATE t_er_invoicesettle_rel a,t_er_planecheckingbill b  set a.FALLORDERBASEID =b.FALLORDERBASEID where a.fsettleid=b.fid and fsettleformid='er_planecheckingbill';
UPDATE t_er_invoicesettle_rel a,t_er_hotelcheckingbill b  set a.FALLORDERBASEID =b.FALLORDERBASEID where a.fsettleid=b.fid and fsettleformid='er_hotelcheckingbill';

