UPDATE ChgCfmRcd t1 SET t1.CfmStatus=0 WHERE EXISTS ( SELECT 1 FROM tb_dz_file t2 WHERE t1.RcdID=t2.DzID AND t1.CmfFile='001');
UPDATE ChgCfmRcd t1 SET t1.CfmStatus=0 WHERE EXISTS ( SELECT 1 FROM tb_dz_file t2 WHERE t1.RcdID=t2.DzID AND t1.CmfFile='001');