update t_cas_recbillchang set fisvoucher='0'; 
update t_cas_recbillchang a set fisvoucher='1' where exists ( select fvoucherid from t_ai_daptracker b where fbilltype ='cas_recchgbill' and a.fid=b.fsourcebillid);