/* 付款交易处理单和交易明细匹配字段数据同步 */
update t_ifm_transhandle_e set fmatchflag='0',fmatchamountpay=0,funmatchamountpay=ISNULL((select sum(tcr.FActPayAmount) from t_ifm_transhandle tcr where tcr.fid = t_ifm_transhandle_e.fid),0) where (fmatchflag=' ' or fmatchflag='0') and funmatchamountpay=0;
