delete from HtmlLabelIndex where id = 544789 and ( indexdesc is null or indexdesc = '' ) ; insert into HtmlLabelIndex(id,indexdesc) select 544789,'企通学配置自定义' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544789 and ( indexdesc is not null and indexdesc <> '' )) limit 1 ; delete from HtmlLabelInfo where indexid = 544789 and languageid=7 and ( labelname is null or labelname = '' ) ; insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544789 as indexid ,'企通学配置自定义' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544789 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1 ; delete from HtmlLabelInfo where indexid = 544789 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) ) ; insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544789 as indexid ,'Enterprise Communication Configuration Customization' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544789 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1 ; delete from HtmlLabelInfo where indexid = 544789 and languageid=9 and ( labelname is null or labelname = '' ) ; insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 544789 as indexid ,'企通學配置自定義' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 544789 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1 ; delete from HtmlModuleLabel where indexId = 544789 and moduleCode = 'HRM' and type = 'label' ; insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','HRM',544789) ; Delete from LeftMenuInfo where id=100190 ; Delete from LeftMenuConfig where infoid=100190 ; call LMConfig_U_ByInfoInsert (2,100167,3) ; call LMInfo_Insert (100190,544789,'','',2,100167,3,2) ; update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/qtxConfig' where id = 100190 ; CREATE TABLE JCL_ORG_QTXCONFIG ( ID int(11) NOT NULL AUTO_INCREMENT, APP_SECRET varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, URL varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PC_ADDRESS varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, MOBILE_ADDRESS varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, SECOND_URL varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, CREATOR int(11) NULL DEFAULT NULL, CREATEDATE varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (id) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;