insert  into T_BEI_TRANSDETAIL_e   (fid)   (select fid from T_BEI_TRANSDETAIL where fid not in  (select fid from T_BEI_TRANSDETAIL_e));

update T_BEI_TRANSDETAIL_e set FAUTORECORPAY='0' where FAUTORECORPAY =' ';