weaver-hrm-salary/resource/国际化sql/sqlupgrade/SQLServer/sql202312140401.sql

160 lines
15 KiB
MySQL
Raw Normal View History

delete from HtmlLabelIndex where id = 545960 and ( indexdesc is null or indexdesc = '' )
GO
insert into HtmlLabelIndex(id,indexdesc) select top 1 545960,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545960 and ( indexdesc is not null and indexdesc <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545960 and languageid=7 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545960 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[߹-<2D><>]%' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' and labelname not like '%[߹-<2D><>]%' ))
GO
delete from HtmlLabelInfo where indexid = 545960 and languageid=9 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlModuleLabel where indexId = 545960 and moduleCode = 'COMMON' and type = 'label'
GO
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545960)
GO
delete from HtmlLabelIndex where id = 545959 and ( indexdesc is null or indexdesc = '' )
GO
insert into HtmlLabelIndex(id,indexdesc) select top 1 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 ( indexdesc is not null and indexdesc <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545959 and languageid=7 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545959 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[߹-<2D><>]%' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' and labelname not like '%[߹-<2D><>]%' ))
GO
delete from HtmlLabelInfo where indexid = 545959 and languageid=9 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlModuleLabel where indexId = 545959 and moduleCode = 'COMMON' and type = 'label'
GO
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545959)
GO
delete from HtmlLabelIndex where id = 545958 and ( indexdesc is null or indexdesc = '' )
GO
insert into HtmlLabelIndex(id,indexdesc) select top 1 545958,'δ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545958 and ( indexdesc is not null and indexdesc <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545958 and languageid=7 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545958 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[߹-<2D><>]%' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' and labelname not like '%[߹-<2D><>]%' ))
GO
delete from HtmlLabelInfo where indexid = 545958 and languageid=9 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlModuleLabel where indexId = 545958 and moduleCode = 'COMMON' and type = 'label'
GO
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545958)
GO
delete from HtmlLabelIndex where id = 545957 and ( indexdesc is null or indexdesc = '' )
GO
insert into HtmlLabelIndex(id,indexdesc) select top 1 545957,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545957 and ( indexdesc is not null and indexdesc <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545957 and languageid=7 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545957 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[߹-<2D><>]%' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' and labelname not like '%[߹-<2D><>]%' ))
GO
delete from HtmlLabelInfo where indexid = 545957 and languageid=9 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlModuleLabel where indexId = 545957 and moduleCode = 'COMMON' and type = 'label'
GO
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545957)
GO
delete from HtmlLabelIndex where id = 545956 and ( indexdesc is null or indexdesc = '' )
GO
insert into HtmlLabelIndex(id,indexdesc) select top 1 545956,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545956 and ( indexdesc is not null and indexdesc <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545956 and languageid=7 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545956 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[߹-<2D><>]%' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' and labelname not like '%[߹-<2D><>]%' ))
GO
delete from HtmlLabelInfo where indexid = 545956 and languageid=9 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlModuleLabel where indexId = 545956 and moduleCode = 'COMMON' and type = 'label'
GO
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545956)
GO
delete from HtmlLabelIndex where id = 545955 and ( indexdesc is null or indexdesc = '' )
GO
insert into HtmlLabelIndex(id,indexdesc) select top 1 545955,'<EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545955 and ( indexdesc is not null and indexdesc <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545955 and languageid=7 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545955 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[߹-<2D><>]%' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' and labelname not like '%[߹-<2D><>]%' ))
GO
delete from HtmlLabelInfo where indexid = 545955 and languageid=9 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlModuleLabel where indexId = 545955 and moduleCode = 'COMMON' and type = 'label'
GO
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545955)
GO
delete from HtmlLabelIndex where id = 545954 and ( indexdesc is null or indexdesc = '' )
GO
insert into HtmlLabelIndex(id,indexdesc) select top 1 545954,'ֱ<EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545954 and ( indexdesc is not null and indexdesc <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545954 and languageid=7 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545954 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[߹-<2D><>]%' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' and labelname not like '%[߹-<2D><>]%' ))
GO
delete from HtmlLabelInfo where indexid = 545954 and languageid=9 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlModuleLabel where indexId = 545954 and moduleCode = 'COMMON' and type = 'label'
GO
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545954)
GO
delete from HtmlLabelIndex where id = 545953 and ( indexdesc is null or indexdesc = '' )
GO
insert into HtmlLabelIndex(id,indexdesc) select top 1 545953,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 545953 and ( indexdesc is not null and indexdesc <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545953 and languageid=7 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlLabelInfo where indexid = 545953 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[߹-<2D><>]%' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' and labelname not like '%[߹-<2D><>]%' ))
GO
delete from HtmlLabelInfo where indexid = 545953 and languageid=9 and ( labelname is null or labelname = '' )
GO
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 ( labelname is not null and labelname <> '' ))
GO
delete from HtmlModuleLabel where indexId = 545953 and moduleCode = 'COMMON' and type = 'label'
GO
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','COMMON',545953)
GO