94 lines
5.9 KiB
MySQL
94 lines
5.9 KiB
MySQL
|
|
alter table jcl_org_custom_template add overall number;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelIndex where id = 547857 and ( trim(indexdesc) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 547857,'<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>ɲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 547857 and ( trim(indexdesc) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547857 and languageid=7 and ( trim(labelname) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547857 as indexid ,'<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>ɲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547857 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547857 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547857 as indexid ,'The content of this Templates field can only be operation by the administrator, and will return to the default Settings value' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547857 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547857 and languageid=9 and ( trim(labelname) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547857 as indexid ,'ԓģ<EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD><EFBFBD>݃H<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD>ɲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD>J<EFBFBD>O<EFBFBD><EFBFBD>ֵ' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547857 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlModuleLabel where indexId = 547857 and moduleCode = 'HRM' and type = 'label' ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','HRM',547857) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelIndex where id = 547854 and ( trim(indexdesc) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 547854,'Ĭ<EFBFBD><EFBFBD>ģ<EFBFBD>岻<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD>,<2C><>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 547854 and ( trim(indexdesc) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547854 and languageid=7 and ( trim(labelname) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547854 as indexid ,'Ĭ<EFBFBD><EFBFBD>ģ<EFBFBD>岻<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD>,<2C><>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547854 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547854 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547854 as indexid ,'The default Templates cannot be Applications. Please select another Templates' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547854 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547854 and languageid=9 and ( trim(labelname) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547854 as indexid ,'Ĭ<EFBFBD>Jģ<EFBFBD>岻<EFBFBD>ɑ<EFBFBD><EFBFBD><EFBFBD>,Ո<>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547854 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlModuleLabel where indexId = 547854 and moduleCode = 'HRM' and type = 'label' ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','HRM',547854) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelIndex where id = 547853 and ( trim(indexdesc) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 547853,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰģ<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 547853 and ( trim(indexdesc) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547853 and languageid=7 and ( trim(labelname) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547853 as indexid ,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰģ<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547853 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547853 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547853 as indexid ,'Applications the current Templates to everyone' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547853 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 547853 and languageid=9 and ( trim(labelname) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 547853 as indexid ,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰģ<EFBFBD>呪<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 547853 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlModuleLabel where indexId = 547853 and moduleCode = 'HRM' and type = 'label' ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','HRM',547853) ;
|
|||
|
|
/
|
|||
|
|
|