/** 清理委托组织为封存组织的数据 */
delete from t_org_orgrelation where fid in (select t.fid from (select fid from t_org_orgrelation where ftyperelationid in (select fid from t_org_typerelation where ffromtype = '01') and ffromorgid in (select forgid from t_org_structure where fviewid =1 and fisfreeze = '1'))t);
/** 清理受托组织为封存组织的数据 */
delete from t_org_orgrelation where fid in (select t.fid from (select fid from t_org_orgrelation where ftyperelationid in (select fid from t_org_typerelation where ftotype = '01') and ftoorgid in (select forgid from t_org_structure where fviewid =1 and fisfreeze = '1'))t);
