|
|
|
|
delete from HtmlLabelIndex where id = 539986 and ( indexdesc is null or indexdesc = '' )
|
|
|
|
|
;
|
|
|
|
|
insert into HtmlLabelIndex(id,indexdesc) select 539986,'<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD>Ƭ<EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 539986 and ( indexdesc is not null and indexdesc <> '' )) limit 1
|
|
|
|
|
;
|
|
|
|
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=7 and ( labelname is null or labelname = '' )
|
|
|
|
|
;
|
|
|
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539986 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 = 539986 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1
|
|
|
|
|
;
|
|
|
|
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) )
|
|
|
|
|
;
|
|
|
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539986 as indexid ,'Personnel Card Column Settings' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539986 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1
|
|
|
|
|
;
|
|
|
|
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=9 and ( labelname is null or labelname = '' )
|
|
|
|
|
;
|
|
|
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539986 as indexid ,'<EFBFBD>ˆT<EFBFBD><EFBFBD>Ƭ<EFBFBD><EFBFBD>Ŀ<EFBFBD>O<EFBFBD><EFBFBD>' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539986 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
Delete from LeftMenuInfo where id=100173
|
|
|
|
|
;
|
|
|
|
|
Delete from LeftMenuConfig where infoid=100173
|
|
|
|
|
;
|
|
|
|
|
call LMConfig_U_ByInfoInsert (2,100167,3)
|
|
|
|
|
;
|
|
|
|
|
call LMInfo_Insert (100173,539986,'','',2,100167,3,2)
|
|
|
|
|
;
|
|
|
|
|
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/columnSetting' where id = 100173
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `JCL_ORG_CARDACCESS` (
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`type_id` int(11) NOT NULL,
|
|
|
|
|
`type_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
|
|
`status` int(11) DEFAULT NULL,
|
|
|
|
|
`all_people` int(11) DEFAULT NULL,
|
|
|
|
|
`superior` int(11) DEFAULT NULL,
|
|
|
|
|
`all_superior` int(11) DEFAULT NULL,
|
|
|
|
|
`custom` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
|
|
`delete_type` int(11) DEFAULT NULL,
|
|
|
|
|
`creator` int(11) DEFAULT NULL,
|
|
|
|
|
`create_time` date DEFAULT NULL,
|
|
|
|
|
`update_time` date DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `JCL_ORG_CARDBUTTON` (
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`name` varchar(255) NOT NULL,
|
|
|
|
|
`status` int(11) DEFAULT NULL,
|
|
|
|
|
`url` varchar(255) DEFAULT NULL,
|
|
|
|
|
`roles` varchar(2000) DEFAULT NULL,
|
|
|
|
|
`sys_default` int(11) NOT NULL,
|
|
|
|
|
`show_order` int(11) DEFAULT NULL,
|
|
|
|
|
`open_type` int(11) DEFAULT NULL,
|
|
|
|
|
`creator` int(11) DEFAULT NULL,
|
|
|
|
|
`delete_type` int(11) DEFAULT NULL,
|
|
|
|
|
`create_time` date DEFAULT NULL,
|
|
|
|
|
`update_time` date DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
insert into jcl_org_cardbutton (name, status, url, sys_default, creator, delete_type, create_time, update_time) values ('<EFBFBD>༭<EFBFBD><EFBFBD>Ա', 1, '/spa/organization/static/index.html#/main/organization/resourceExtend/${id}', 0, 1, 0, now(), now());
|
|
|
|
|
|
|
|
|
|
alter table jcl_field_extendinfo add ismodify int(11);
|
|
|
|
|
alter table jcl_field_extendinfo add modify_props int(11);
|
|
|
|
|
alter table jcl_field_extendinfo add check_props int(11);
|
|
|
|
|
|
|
|
|
|
update jcl_field_extendinfo set check_props = 2, modify_props = 2 where is_system_default = 1 and delete_type = 0;
|
|
|
|
|
|
|
|
|
|
alter table jcl_org_jobext_dt1 add group_id int;
|