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

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