delete from HtmlLabelIndex where id = 544635 and ( trim(indexdesc) is null ) ;
/

insert into HtmlLabelIndex(id,indexdesc) select 544635,'快捷搜索自定义' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544635 and ( trim(indexdesc) is not null )) and rownum = 1 ;
/

delete from HtmlLabelInfo where indexid = 544635 and languageid=7 and ( trim(labelname) is null ) ;
/

insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544635 as indexid ,'快捷搜索自定义' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544635 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
/

delete from HtmlLabelInfo where indexid = 544635 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
/

insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544635 as indexid ,'Quick Search Customization' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544635 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
/

delete from HtmlLabelInfo where indexid = 544635 and languageid=9 and ( trim(labelname) is null ) ;
/

insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544635 as indexid ,'快捷搜索自定義' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544635 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
/

delete from HtmlLabelIndex where id = 544634 and ( trim(indexdesc) is null ) ;
/

insert into HtmlLabelIndex(id,indexdesc) select 544634,'组织快速调整' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544634 and ( trim(indexdesc) is not null )) and rownum = 1 ;
/

delete from HtmlLabelInfo where indexid = 544634 and languageid=7 and ( trim(labelname) is null ) ;
/

insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544634 as indexid ,'组织快速调整' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544634 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
/

delete from HtmlLabelInfo where indexid = 544634 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
/

insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544634 as indexid ,'Quick Organizational Adjustment' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544634 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
/

delete from HtmlLabelInfo where indexid = 544634 and languageid=9 and ( trim(labelname) is null ) ;
/

insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544634 as indexid ,'組織快速調整' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544634 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
/

Delete from LeftMenuInfo where id=100188;
/

Delete from LeftMenuConfig where infoid=100188;
/

call LMConfig_U_ByInfoInsert (2,100147,5);
/

call LMInfo_Insert (100188,544634,'','',2,100147,5,2);
/

update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/orgChart/index.html#/dragtree' where id = 100188;
/

Delete from LeftMenuInfo where id=100189;
/

Delete from LeftMenuConfig where infoid=100189;
/

call LMConfig_U_ByInfoInsert (2,100167,2);
/

call LMInfo_Insert (100189,544635,'','',2,100167,2,2);
/

update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/quickSearch' where id = 100189;
/