23 lines
1.7 KiB
MySQL
23 lines
1.7 KiB
MySQL
|
|
delete from HtmlLabelIndex where id = 541290 and ( trim(indexdesc) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelIndex(id,indexdesc) select 541290,'<EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 541290 and ( trim(indexdesc) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 541290 and languageid=7 and ( trim(labelname) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 541290 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 = 541290 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 541290 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 541290 as indexid ,'Non-system personnel management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 541290 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
delete from HtmlLabelInfo where indexid = 541290 and languageid=9 and ( trim(labelname) is null ) ;
|
|||
|
|
/
|
|||
|
|
|
|||
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 541290 as indexid ,'<EFBFBD><EFBFBD>ϵ<EFBFBD>y<EFBFBD>ˆT<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 541290 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1 ;
|
|||
|
|
/
|