/* bos_bizentity因跟bos_entity_tree id重复，换了id，需先删除旧id数据*/
delete from t_meta_formdesign where fnumber = 'bos_bizentity'; 
delete from t_meta_formdesign_l where fnumber = 'bos_bizentity'; 
delete from t_meta_form where fnumber = 'bos_bizentity'; 
delete from t_meta_entitydesign where fnumber = 'bos_bizentity'; 
delete from t_meta_entitydesign_l where fnumber = 'bos_bizentity'; 
delete from t_meta_entity where fnumber = 'bos_bizentity'; 
delete from t_meta_mainentityinfo where fid = 'bos_bizentity'; 
delete from t_meta_mainentityinfo_l where fid = 'bos_bizentity'; 
delete from t_meta_entityinfo where fid = 'bos_bizentity';
delete from t_meta_objecttyperef where fobjecttypeid = 'bos_bizentity';
delete from t_meta_objecttyperef where frefobjecttypeid = 'bos_bizentity';

/* 删除tree_test测试单据 */
delete from t_meta_formdesign where fnumber = 'tree_test'; 
delete from t_meta_formdesign_l where fnumber = 'tree_test'; 
delete from t_meta_form where fnumber = 'tree_test'; 
delete from t_meta_entitydesign where fnumber = 'tree_test'; 
delete from t_meta_entitydesign_l where fnumber = 'tree_test'; 
delete from t_meta_entity where fnumber = 'tree_test'; 
delete from t_meta_mainentityinfo where fid = 'tree_test'; 
delete from t_meta_mainentityinfo_l where fid = 'tree_test'; 
delete from t_meta_entityinfo where fid = 'tree_test';
delete from t_meta_objecttyperef where fobjecttypeid = 'tree_test';
delete from t_meta_objecttyperef where frefobjecttypeid = 'tree_test';