
-- ↓删除应用hbom的元数据↓ --
DELETE FROM T_META_MAINENTITYINFO_L WHERE FID IN (SELECT FID FROM T_META_MAINENTITYINFO WHERE FBIZAPPID = '14GH=AK7SK2N');
DELETE FROM T_META_MAINENTITYINFO WHERE FBIZAPPID = '14GH=AK7SK2N';
-- 下面这行没弄错，这里的FID就是那边的FNUMBER --
DELETE FROM T_META_ENTITYINFO WHERE FID IN (SELECT FNUMBER FROM T_META_FORMDESIGN WHERE FBIZAPPID = '14GH=AK7SK2N');
DELETE FROM T_META_ENTITY WHERE FNUMBER IN (SELECT FNUMBER FROM T_META_FORMDESIGN WHERE FBIZAPPID = '14GH=AK7SK2N');
DELETE FROM T_META_FORM WHERE FNUMBER IN (SELECT FNUMBER FROM T_META_FORMDESIGN WHERE FBIZAPPID = '14GH=AK7SK2N');
DELETE FROM T_META_BIZUNITRELFORM WHERE FBIZAPPID = '14GH=AK7SK2N';
DELETE FROM T_META_FORMDESIGN_L WHERE FID IN (SELECT FID FROM T_META_FORMDESIGN WHERE FBIZAPPID = '14GH=AK7SK2N');
DELETE FROM T_META_FORMDESIGN WHERE FBIZAPPID = '14GH=AK7SK2N';
DELETE FROM T_META_ENTITYDESIGN_L WHERE FID IN (SELECT FID FROM T_META_ENTITYDESIGN WHERE FBIZAPPID = '14GH=AK7SK2N');
DELETE FROM T_META_ENTITYDESIGN WHERE FBIZAPPID = '14GH=AK7SK2N';

