You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
3.3 KiB
Transact-SQL
75 lines
3.3 KiB
Transact-SQL
delete from HtmlLabelIndex where id = 539986 and ( indexdesc is null or indexdesc = '' )
|
|
GO
|
|
insert into HtmlLabelIndex(id,indexdesc) select top 1 539986,'人员卡片栏目设置' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 539986 and ( indexdesc is not null and indexdesc <> '' ))
|
|
GO
|
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=7 and ( labelname is null or labelname = '' )
|
|
GO
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 539986 as indexid ,'人员卡片栏目设置' 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 <> '' ))
|
|
GO
|
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[吖-座]%' )
|
|
GO
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 labelname not like '%[吖-座]%' ))
|
|
GO
|
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=9 and ( labelname is null or labelname = '' )
|
|
GO
|
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 539986 as indexid ,'人員卡片欄目設置' 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 <> '' ))
|
|
GO
|
|
|
|
Delete from LeftMenuInfo where id=100173
|
|
GO
|
|
Delete from LeftMenuConfig where infoid=100173
|
|
GO
|
|
EXECUTE LMConfig_U_ByInfoInsert 2,100167,3
|
|
GO
|
|
EXECUTE LMInfo_Insert 100173,539986,'','',2,100167,3,2
|
|
GO
|
|
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/columnSetting' where id = 100173
|
|
GO
|
|
|
|
|
|
CREATE TABLE JCL_ORG_CARDACCESS (
|
|
id int IDENTITY(1,1) NOT NULL,
|
|
type_id int NOT NULL,
|
|
type_name varchar(50) NOT NULL,
|
|
status int NULL,
|
|
all_people int NULL,
|
|
superior int NULL,
|
|
all_superior int NULL,
|
|
custom varchar(2000) NULL,
|
|
delete_type int NULL,
|
|
creator int NULL,
|
|
create_time date NULL,
|
|
update_time date NULL,
|
|
CONSTRAINT JCL_ORG_CARDACCESS_PK PRIMARY KEY (id)
|
|
)
|
|
GO
|
|
|
|
CREATE TABLE JCL_ORG_CARDBUTTON (
|
|
id int IDENTITY(1,1) NOT NULL,
|
|
name varchar(255) NOT NULL,
|
|
status int NULL,
|
|
url varchar(255) NULL,
|
|
roles varchar(2000) NULL,
|
|
sys_default int NOT NULL,
|
|
show_order int null,
|
|
open_type int null,
|
|
creator int NULL,
|
|
delete_type int NULL,
|
|
create_time date NULL,
|
|
update_time date NULL,
|
|
CONSTRAINT JCL_ORG_CARDBUTTON_PK PRIMARY KEY (id)
|
|
)
|
|
GO
|
|
|
|
insert into jcl_org_cardbutton (name, status, url, sys_default, creator, delete_type, create_time, update_time) values ('编辑人员', 1, '/spa/organization/static/index.html#/main/organization/resourceExtend/${id}', 0, 1, 0, GETDATE(), GETDATE())
|
|
GO
|
|
alter table jcl_field_extendinfo add ismodify int
|
|
GO
|
|
alter table jcl_field_extendinfo add modify_props int
|
|
GO
|
|
alter table jcl_field_extendinfo add check_props int
|
|
GO
|
|
update jcl_field_extendinfo set check_props = 2, modify_props = 2 where is_system_default = 1 and delete_type = 0
|
|
GO
|
|
alter table jcl_org_jobext_dt1 add group_id int
|
|
GO |