160 lines
14 KiB
MySQL
160 lines
14 KiB
MySQL
|
|
delete from HtmlLabelIndex where id = 545960 and ( trim(indexdesc) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 545960,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545960 and ( trim(indexdesc) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545960 and languageid=7 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545960 as indexid ,'<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 = 545960 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545960 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545960 as indexid ,'Subordinate Payroll' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545960 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545960 and languageid=9 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545960 as indexid ,'<EFBFBD>ٹ<EFBFBD><EFBFBD>Y<EFBFBD><EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545960 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlModuleLabel where indexId = 545960 and moduleCode = 'COMMON' and type = 'label'
|
|||
|
|
/
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545960)
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelIndex where id = 545959 and ( trim(indexdesc) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 545959,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>Ȩ<EFBFBD>鿴<EFBFBD>ù<EFBFBD><EFBFBD>ʵ<EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545959 and ( trim(indexdesc) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545959 and languageid=7 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545959 as indexid ,'<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 = 545959 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545959 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545959 as indexid ,'You are not authorized to view this payroll at this time' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545959 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545959 and languageid=9 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545959 as indexid ,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>r<EFBFBD>o<EFBFBD><EFBFBD><EFBFBD>鿴ԓ<EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD><EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545959 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlModuleLabel where indexId = 545959 and moduleCode = 'COMMON' and type = 'label'
|
|||
|
|
/
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545959)
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelIndex where id = 545958 and ( trim(indexdesc) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 545958,'δ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545958 and ( trim(indexdesc) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545958 and languageid=7 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545958 as indexid ,'δ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545958 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545958 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545958 as indexid ,'Unapproved' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545958 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545958 and languageid=9 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545958 as indexid ,'δ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545958 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlModuleLabel where indexId = 545958 and moduleCode = 'COMMON' and type = 'label'
|
|||
|
|
/
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545958)
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelIndex where id = 545957 and ( trim(indexdesc) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 545957,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545957 and ( trim(indexdesc) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545957 and languageid=7 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545957 as indexid ,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545957 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545957 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545957 as indexid ,'Approval in Progress' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545957 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545957 and languageid=9 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545957 as indexid ,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545957 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlModuleLabel where indexId = 545957 and moduleCode = 'COMMON' and type = 'label'
|
|||
|
|
/
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545957)
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelIndex where id = 545956 and ( trim(indexdesc) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 545956,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545956 and ( trim(indexdesc) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545956 and languageid=7 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545956 as indexid ,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545956 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545956 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545956 as indexid ,'Approved' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545956 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545956 and languageid=9 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545956 as indexid ,'<EFBFBD>ь<EFBFBD><EFBFBD><EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545956 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlModuleLabel where indexId = 545956 and moduleCode = 'COMMON' and type = 'label'
|
|||
|
|
/
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545956)
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelIndex where id = 545955 and ( trim(indexdesc) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 545955,'<EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545955 and ( trim(indexdesc) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545955 and languageid=7 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545955 as indexid ,'<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 = 545955 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545955 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545955 as indexid ,'Payroll Release Time' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545955 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545955 and languageid=9 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545955 as indexid ,'<EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD>ΰl<EFBFBD>ŕr<EFBFBD>g' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545955 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlModuleLabel where indexId = 545955 and moduleCode = 'COMMON' and type = 'label'
|
|||
|
|
/
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545955)
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelIndex where id = 545954 and ( trim(indexdesc) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 545954,'ֱ<EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545954 and ( trim(indexdesc) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545954 and languageid=7 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545954 as indexid ,'ֱ<EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545954 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545954 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545954 as indexid ,'Direct Superior' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545954 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545954 and languageid=9 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545954 as indexid ,'ֱ<EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545954 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlModuleLabel where indexId = 545954 and moduleCode = 'COMMON' and type = 'label'
|
|||
|
|
/
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545954)
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelIndex where id = 545953 and ( trim(indexdesc) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 545953,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545953 and ( trim(indexdesc) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545953 and languageid=7 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545953 as indexid ,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545953 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545953 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545953 as indexid ,'Approval Status' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545953 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlLabelInfo where indexid = 545953 and languageid=9 and ( trim(labelname) is null )
|
|||
|
|
/
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 545953 as indexid ,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 545953 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1
|
|||
|
|
/
|
|||
|
|
delete from HtmlModuleLabel where indexId = 545953 and moduleCode = 'COMMON' and type = 'label'
|
|||
|
|
/
|
|||
|
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545953)
|
|||
|
|
/
|