-- 删除元数据
DELETE  FROM T_META_BIZUNITRELFORM where FFORMID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hsbs_taxunit'));
DELETE  FROM T_META_ENTITYDESIGN where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hsbs_taxunit'));
DELETE  FROM T_META_ENTITYDESIGN_L where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hsbs_taxunit'));
DELETE  FROM T_META_FORM where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hsbs_taxunit'));
DELETE  FROM T_META_ENTITY where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hsbs_taxunit'));
DELETE  FROM T_META_FORMDESIGN_L where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hsbs_taxunit'));
DELETE  FROM T_META_FORMDESIGN WHERE fnumber IN ('hsbs_taxunit');
DELETE  FROM T_META_ENTITYINFO where FID IN ('hsbs_taxunit');
DELETE  FROM T_META_MAINENTITYINFO where FID IN ('hsbs_taxunit');
DELETE  FROM T_META_MAINENTITYINFO_L where FID IN ('hsbs_taxunit');

DELETE  FROM T_META_BIZUNITRELFORM where FFORMID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hbos_taxunit'));
DELETE  FROM T_META_ENTITYDESIGN where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hbos_taxunit'));
DELETE  FROM T_META_ENTITYDESIGN_L where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hbos_taxunit'));
DELETE  FROM T_META_FORM where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hbos_taxunit'));
DELETE  FROM T_META_ENTITY where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hbos_taxunit'));
DELETE  FROM T_META_FORMDESIGN_L where FID IN (SELECT t.fid FROM T_META_FORMDESIGN t WHERE t.fnumber IN ('hbos_taxunit'));
DELETE  FROM T_META_FORMDESIGN WHERE fnumber IN ('hbos_taxunit');
DELETE  FROM T_META_ENTITYINFO where FID IN ('hbos_taxunit');
DELETE  FROM T_META_MAINENTITYINFO where FID IN ('hbos_taxunit');
DELETE  FROM T_META_MAINENTITYINFO_L where FID IN ('hbos_taxunit');