pull/210/head
parent
e8bcb4af99
commit
a52ef7ecb2
@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE JCL_ORG_SCHEME ADD SUBCOMPANYID NUMBER;
|
||||||
|
/
|
||||||
|
|
@ -0,0 +1,85 @@
|
|||||||
|
delete from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select 544789,'企通学配置自定义' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is not null )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=7 and ( trim(labelname) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=9 and ( trim(labelname) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 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;
|
||||||
|
/
|
||||||
|
|
||||||
|
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 NUMBER NOT NULL,
|
||||||
|
APP_SECRET NVARCHAR2(255) NULL,
|
||||||
|
URL NVARCHAR2(255) NULL,
|
||||||
|
PC_ADDRESS NVARCHAR2(255) NULL,
|
||||||
|
MOBILE_ADDRESS NVARCHAR2(255) NULL,
|
||||||
|
SECOND_URL NVARCHAR2(255) NULL,
|
||||||
|
CREATOR NUMBER NULL,
|
||||||
|
CREATEDATE NVARCHAR2(10) NULL,
|
||||||
|
CONSTRAINT JCL_ORG_QTXCONFIG_PK PRIMARY KEY (ID)
|
||||||
|
);
|
||||||
|
/
|
||||||
|
|
||||||
|
CREATE SEQUENCE JCL_ORG_QTXCONFIG_ID INCREMENT BY 1 START WITH 1 nomaxvalue minvalue 1 NOCYCLE;
|
||||||
|
/
|
||||||
|
|
||||||
|
CREATE
|
||||||
|
OR REPLACE TRIGGER JCL_ORG_QTXCONFIG_ID_TIGGER BEFORE INSERT ON JCL_ORG_QTXCONFIG FOR EACH ROW
|
||||||
|
BEGIN
|
||||||
|
SELECT
|
||||||
|
JCL_ORG_QTXCONFIG_ID.nextval INTO:new.ID
|
||||||
|
FROM
|
||||||
|
dual;
|
||||||
|
END;
|
||||||
|
/
|
@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE JCL_ORG_SCHEME ADD SUBCOMPANYID NUMBER;
|
||||||
|
/
|
||||||
|
|
@ -0,0 +1,44 @@
|
|||||||
|
delete from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select 544789,'企通学配置自定义' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is not null )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=7 and ( trim(labelname) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=9 and ( trim(labelname) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 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;
|
||||||
|
/
|
@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE JCL_ORG_SCHEME ADD SUBCOMPANYID NUMBER;
|
||||||
|
/
|
||||||
|
|
@ -0,0 +1,70 @@
|
|||||||
|
delete from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select 544789,'企通学配置自定义' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is not null )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=7 and ( trim(labelname) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1 ;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=9 and ( trim(labelname) is null ) ;
|
||||||
|
/
|
||||||
|
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 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 NUMBER NOT NULL,
|
||||||
|
APP_SECRET NVARCHAR2(255) NULL,
|
||||||
|
URL NVARCHAR2(255) NULL,
|
||||||
|
PC_ADDRESS NVARCHAR2(255) NULL,
|
||||||
|
MOBILE_ADDRESS NVARCHAR2(255) NULL,
|
||||||
|
SECOND_URL NVARCHAR2(255) NULL,
|
||||||
|
CREATOR NUMBER NULL,
|
||||||
|
CREATEDATE NVARCHAR2(10) NULL,
|
||||||
|
CONSTRAINT JCL_ORG_QTXCONFIG_PK PRIMARY KEY (ID)
|
||||||
|
);
|
||||||
|
/
|
||||||
|
|
||||||
|
CREATE SEQUENCE JCL_ORG_QTXCONFIG_ID INCREMENT BY 1 START WITH 1 MAXVALUE 9223372036854775807 minvalue 1 NOCYCLE;
|
||||||
|
/
|
||||||
|
|
||||||
|
CREATE
|
||||||
|
OR REPLACE TRIGGER JCL_ORG_QTXCONFIG_ID_TIGGER BEFORE INSERT ON JCL_ORG_QTXCONFIG FOR EACH ROW
|
||||||
|
BEGIN
|
||||||
|
SELECT
|
||||||
|
JCL_ORG_QTXCONFIG_ID.nextval INTO:new.ID
|
||||||
|
FROM
|
||||||
|
dual;
|
||||||
|
END;
|
||||||
|
/
|
@ -0,0 +1 @@
|
|||||||
|
alter table jcl_org_scheme add subcompanyid int;
|
@ -0,0 +1,43 @@
|
|||||||
|
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;
|
@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE JCL_ORG_SCHEME ADD SUBCOMPANYID NUMBER
|
||||||
|
/
|
@ -0,0 +1,57 @@
|
|||||||
|
delete from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is null )
|
||||||
|
/
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select 544789,'企通学配置自定义' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is not null )) and rownum = 1
|
||||||
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=7 and ( trim(labelname) is null )
|
||||||
|
/
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 1
|
||||||
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1
|
||||||
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=9 and ( trim(labelname) is null )
|
||||||
|
/
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 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 NUMBER NOT NULL,
|
||||||
|
APP_SECRET NVARCHAR2(255) NULL,
|
||||||
|
URL NVARCHAR2(255) NULL,
|
||||||
|
PC_ADDRESS NVARCHAR2(255) NULL,
|
||||||
|
MOBILE_ADDRESS NVARCHAR2(255) NULL,
|
||||||
|
SECOND_URL NVARCHAR2(255) NULL,
|
||||||
|
CREATOR NUMBER NULL,
|
||||||
|
CREATEDATE NVARCHAR2(10) NULL,
|
||||||
|
CONSTRAINT JCL_ORG_QTXCONFIG_PK PRIMARY KEY (ID)
|
||||||
|
)
|
||||||
|
/
|
||||||
|
|
||||||
|
CREATE SEQUENCE JCL_ORG_QTXCONFIG_ID INCREMENT BY 1 START WITH 1 nomaxvalue minvalue 1 NOCYCLE;
|
||||||
|
/
|
||||||
|
|
||||||
|
CREATE
|
||||||
|
OR REPLACE TRIGGER JCL_ORG_QTXCONFIG_ID_TIGGER BEFORE INSERT ON JCL_ORG_QTXCONFIG FOR EACH ROW
|
||||||
|
BEGIN
|
||||||
|
SELECT
|
||||||
|
JCL_ORG_QTXCONFIG_ID.nextval INTO:new.ID
|
||||||
|
FROM
|
||||||
|
dual;
|
||||||
|
END;
|
||||||
|
/
|
@ -1,148 +1,145 @@
|
|||||||
delete from HtmlLabelIndex where id = 539805 and ( trim(indexdesc) is null );
|
delete from HtmlLabelIndex where id = 539805 and ( indexdesc is null or indexdesc = '' )
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select 539805,'模块管理分权' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 539805 and ( indexdesc is not null and indexdesc <> '' )) limit 1
|
||||||
insert into HtmlLabelIndex(id,indexdesc) select 539805,'模块管理分权' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 539805 and ( trim(indexdesc) is not null )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539805 and languageid=7 and ( labelname is null or labelname = '' )
|
||||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=7 and ( trim(labelname) is null );
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539805 as indexid ,'模块管理分权' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539805 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1
|
||||||
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539805 as indexid ,'模块管理分权' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539805 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539805 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) )
|
||||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) );
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539805 as indexid ,'Decentralization of module management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539805 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1
|
||||||
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539805 as indexid ,'Decentralization of module management' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539805 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539805 and languageid=9 and ( labelname is null or labelname = '' )
|
||||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=9 and ( trim(labelname) is null );
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539805 as indexid ,'模塊管理分權' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539805 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1
|
||||||
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539805 as indexid ,'模塊管理分權' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539805 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
delete from HtmlLabelIndex where id = 539804 and ( trim(indexdesc) is null );
|
|
||||||
/
|
|
||||||
|
|
||||||
insert into HtmlLabelIndex(id,indexdesc) select 539804,'分权管理中心' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 539804 and ( trim(indexdesc) is not null )) and rownum = 1;
|
delete from HtmlLabelIndex where id = 539804 and ( indexdesc is null or indexdesc = '' )
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select 539804,'分权管理中心' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 539804 and ( indexdesc is not null and indexdesc <> '' )) limit 1
|
||||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=7 and ( trim(labelname) is null );
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539804 and languageid=7 and ( labelname is null or labelname = '' )
|
||||||
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539804 as indexid ,'分权管理中心' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539804 and languageid=7 and ( trim(labelname) is not null )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539804 as indexid ,'分权管理中心' as content,7 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539804 and languageid=7 and ( labelname is not null and labelname <> '' )) limit 1
|
||||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) );
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539804 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) )
|
||||||
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539804 as indexid ,'Decentralized management center' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539804 and languageid=8 and ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539804 as indexid ,'Decentralized management center' as content,8 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539804 and languageid=8 and ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1
|
||||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=9 and ( trim(labelname) is null );
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539804 and languageid=9 and ( labelname is null or labelname = '' )
|
||||||
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539804 as indexid ,'分權管理中心' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539804 and languageid=9 and ( trim(labelname) is not null )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 539804 as indexid ,'分權管理中心' as content,9 as languageid from HtmlLabelInfo) t where not exists (select indexid,languageid from HtmlLabelInfo where indexid = 539804 and languageid=9 and ( labelname is not null and labelname <> '' )) limit 1
|
||||||
Delete from LeftMenuInfo where id=100178;
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
Delete from LeftMenuConfig where infoid=100178;
|
Delete from LeftMenuInfo where id=100178
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
Delete from LeftMenuConfig where infoid=100178
|
||||||
call LMConfig_U_ByInfoInsert (2,100139,5);
|
;
|
||||||
/
|
/
|
||||||
|
select LMConfig_U_ByInfoInsert (2,100139,5)
|
||||||
call LMInfo_Insert (100178,539804,'','',2,100139,5,2);
|
;
|
||||||
/
|
/
|
||||||
|
select LMInfo_Insert (100178,539804,'','',2,100139,5,2)
|
||||||
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='' where id = 100178;
|
;
|
||||||
/
|
/
|
||||||
|
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='' where id = 100178
|
||||||
Delete from LeftMenuInfo where id=100179;
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
Delete from LeftMenuConfig where infoid=100179;
|
Delete from LeftMenuInfo where id=100179
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
Delete from LeftMenuConfig where infoid=100179
|
||||||
call LMConfig_U_ByInfoInsert (2,100178,-1);
|
;
|
||||||
/
|
/
|
||||||
|
select LMConfig_U_ByInfoInsert (2,100178,-1)
|
||||||
call LMInfo_Insert (100179,539805,'','',2,100178,-1,2);
|
;
|
||||||
/
|
/
|
||||||
|
select LMInfo_Insert (100179,539805,'','',2,100178,-1,2)
|
||||||
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/managerDetach' where id = 100179;
|
;
|
||||||
/
|
/
|
||||||
|
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/managerDetach' where id = 100179
|
||||||
delete from SystemRightDetail where rightid =2727;
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
delete from SystemRightsLanguage where id =2727;
|
|
||||||
/
|
|
||||||
|
|
||||||
delete from SystemRights where id =2727;
|
|
||||||
/
|
|
||||||
|
|
||||||
delete from SystemRightToGroup where rightid =2727;
|
delete from SystemRightDetail where rightid =2727
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
delete from SystemRightsLanguage where id =2727
|
||||||
delete from SystemRightType where id =37;
|
;
|
||||||
/
|
/
|
||||||
|
delete from SystemRights where id =2727
|
||||||
delete from SystemRightGroups where id =-23;
|
;
|
||||||
/
|
/
|
||||||
|
delete from SystemRightToGroup where rightid =2727
|
||||||
insert into SystemRights (id,rightdesc,righttype,detachable) values (2727,'模块管理分权','37',0);
|
;
|
||||||
/
|
/
|
||||||
|
delete from SystemRightType where id =37
|
||||||
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,8,'Decentralization of module management','Decentralization of module management');
|
;
|
||||||
/
|
/
|
||||||
|
delete from SystemRightGroups where id =-23
|
||||||
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,9,'模塊管理分權','模塊管理分權');
|
;
|
||||||
/
|
/
|
||||||
|
insert into SystemRights (id,rightdesc,righttype,detachable) values (2727,'模块管理分权','37',0)
|
||||||
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,7,'模块管理分权','模块管理分权');
|
;
|
||||||
/
|
/
|
||||||
|
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,8,'Decentralization of module management','Decentralization of module management')
|
||||||
insert into SystemRightDetail (id,rightdetailname,rightdetail,rightid) values (44005,'模块管理分权权限','MangerDeatch:All',2727);
|
;
|
||||||
/
|
/
|
||||||
|
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,9,'模塊管理分權','模塊管理分權')
|
||||||
insert into SystemRightToGroup(rightid,groupid) values (2727,-23);
|
;
|
||||||
|
/
|
||||||
|
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,7,'模块管理分权','模块管理分权')
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
insert into SystemRightGroups (id,rightgroupmark, rightgroupname, rightgroupremark) values(-23,'ORGANIZATION','组织管理权限组','组织管理');
|
insert into SystemRightDetail (id,rightdetailname,rightdetail,rightid) values (44005,'模块管理分权权限','MangerDeatch:All',2727)
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
insert into SystemRightType(id,rightTypeName,rightTypeDesc) VALUES (37,'组织管理','组织管理');
|
insert into SystemRightToGroup(rightid,groupid) values (2727,-23)
|
||||||
|
;
|
||||||
|
/
|
||||||
|
insert into SystemRightGroups (id,rightgroupmark, rightgroupname, rightgroupremark) values(-23,'ORGANIZATION','组织管理权限组','组织管理')
|
||||||
|
;
|
||||||
|
/
|
||||||
|
insert into SystemRightType(id,rightTypeName,rightTypeDesc) VALUES (37,'组织管理','组织管理')
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE TABLE JCL_ORG_DETACH (
|
CREATE TABLE JCL_ORG_DETACH (
|
||||||
ID NUMBER NOT NULL,
|
ID SERIAL NOT NULL,
|
||||||
MANAGER_TYPE NUMBER NULL,
|
MANAGER_TYPE INT NULL,
|
||||||
EC_MANAGER NUMBER NOT NULL,
|
EC_MANAGER INT NOT NULL,
|
||||||
JCL_MANAGER NUMBER NOT NULL,
|
JCL_MANAGER INT NOT NULL,
|
||||||
EC_ROLELEVEL VARCHAR(4000) NOT NULL,
|
EC_ROLELEVEL VARCHAR(4000) NOT NULL,
|
||||||
JCL_ROLELEVEL VARCHAR(4000) NOT NULL,
|
JCL_ROLELEVEL VARCHAR(4000) NOT NULL,
|
||||||
MANAGE_MODULE VARCHAR(4000) NOT NULL,
|
MANAGE_MODULE VARCHAR(4000) NOT NULL,
|
||||||
CREATOR NUMBER NULL,
|
CREATOR INT NULL,
|
||||||
DELETE_TYPE NUMBER NULL,
|
DELETE_TYPE INT NULL,
|
||||||
CREATE_TIME DATE NULL,
|
CREATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||||
UPDATE_TIME DATE NULL,
|
UPDATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||||
CONSTRAINT JCL_ORG_DETACH_PK PRIMARY KEY (ID)
|
PRIMARY KEY (ID)
|
||||||
);
|
);
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE SEQUENCE JCL_ORG_DETACH_ID INCREMENT BY 1 START WITH 1 MAXVALUE 9223372036854775807 minvalue 1 NOCYCLE;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE
|
|
||||||
OR REPLACE TRIGGER JCL_ORG_DETACH_ID_TIGGER BEFORE INSERT ON JCL_ORG_DETACH FOR EACH ROW
|
|
||||||
BEGIN
|
|
||||||
SELECT
|
|
||||||
JCL_ORG_DETACH_ID.nextval INTO:new.ID
|
|
||||||
FROM
|
|
||||||
dual;
|
|
||||||
END;
|
|
||||||
/
|
|
@ -1,116 +1,95 @@
|
|||||||
delete from HtmlLabelIndex where id = 539986 and ( trim(indexdesc) is null );
|
delete from HtmlLabelIndex where id = 539986 and ( indexdesc is null or indexdesc = '' )
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select 539986,'人员卡片栏目设置' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 539986 and ( indexdesc is not null and indexdesc <> '' )) limit 1
|
||||||
insert into HtmlLabelIndex(id,indexdesc) select 539986,'人员卡片栏目设置' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 539986 and ( trim(indexdesc) is not null )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=7 and ( labelname is null or labelname = '' )
|
||||||
delete from HtmlLabelInfo where indexid = 539986 and languageid=7 and ( trim(labelname) is null );
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 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 <> '' )) limit 1
|
||||||
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 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 ( trim(labelname) is not null )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) )
|
||||||
delete from HtmlLabelInfo where indexid = 539986 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(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
|
||||||
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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
delete from HtmlLabelInfo where indexid = 539986 and languageid=9 and ( labelname is null or labelname = '' )
|
||||||
delete from HtmlLabelInfo where indexid = 539986 and languageid=9 and ( trim(labelname) is null );
|
;
|
||||||
/
|
/
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 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 <> '' )) limit 1
|
||||||
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select 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 ( trim(labelname) is not null )) and rownum = 1;
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
Delete from LeftMenuInfo where id=100173;
|
Delete from LeftMenuInfo where id=100173
|
||||||
|
;
|
||||||
/
|
/
|
||||||
|
Delete from LeftMenuConfig where infoid=100173
|
||||||
Delete from LeftMenuConfig where infoid=100173;
|
;
|
||||||
/
|
/
|
||||||
|
select LMConfig_U_ByInfoInsert (2,100167,3)
|
||||||
call LMConfig_U_ByInfoInsert (2,100167,3);
|
;
|
||||||
/
|
/
|
||||||
|
select LMInfo_Insert (100173,539986,'','',2,100167,3,2)
|
||||||
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
|
||||||
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/columnSetting' where id = 100173;
|
;
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE TABLE JCL_ORG_CARDACCESS (
|
CREATE TABLE JCL_ORG_CARDACCESS (
|
||||||
ID NUMBER NOT NULL,
|
ID SERIAL NOT NULL,
|
||||||
TYPE_ID NUMBER NOT NULL,
|
TYPE_ID INT NOT NULL,
|
||||||
TYPE_NAME NVARCHAR2(50) NOT NULL,
|
TYPE_NAME VARCHAR(50) NOT NULL,
|
||||||
STATUS NUMBER NULL,
|
STATUS INT NULL,
|
||||||
ALL_PEOPLE NUMBER NULL,
|
ALL_PEOPLE INT NULL,
|
||||||
SUPERIOR NUMBER NULL,
|
SUPERIOR INT NULL,
|
||||||
ALL_SUPERIOR NUMBER NULL,
|
ALL_SUPERIOR INT NULL,
|
||||||
CUSTOM NVARCHAR2(2000) NULL ,
|
CUSTOM VARCHAR(2000) NULL ,
|
||||||
DELETE_TYPE NUMBER NULL,
|
DELETE_TYPE INT NULL,
|
||||||
CREATOR NUMBER NULL,
|
CREATOR INT NULL,
|
||||||
CREATE_TIME DATE NULL,
|
CREATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||||
UPDATE_TIME DATE NULL,
|
UPDATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||||
CONSTRAINT JCL_ORG_CARDACCESS_PK PRIMARY KEY (ID)
|
PRIMARY KEY (ID)
|
||||||
);
|
);
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE SEQUENCE JCL_ORG_CARDACCESS_ID INCREMENT BY 1 START WITH 1 MAXVALUE 9223372036854775807 minvalue 1 NOCYCLE;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE
|
|
||||||
OR REPLACE TRIGGER JCL_ORG_CARDACCESS_ID_TIGGER BEFORE INSERT ON JCL_ORG_CARDACCESS FOR EACH ROW
|
|
||||||
BEGIN
|
|
||||||
SELECT
|
|
||||||
JCL_ORG_CARDACCESS_ID.nextval INTO:new.ID
|
|
||||||
FROM
|
|
||||||
dual;
|
|
||||||
END;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE TABLE JCL_ORG_CARDBUTTON (
|
CREATE TABLE JCL_ORG_CARDBUTTON (
|
||||||
ID NUMBER NOT NULL,
|
ID SERIAL NOT NULL,
|
||||||
NAME NVARCHAR2(255) NOT NULL,
|
NAME VARCHAR(255) NOT NULL,
|
||||||
STATUS NUMBER NULL,
|
STATUS INT NULL,
|
||||||
URL NVARCHAR2(255) NULL,
|
URL VARCHAR(255) NULL,
|
||||||
ROLES NVARCHAR2(2000) NULL,
|
ROLES VARCHAR(2000) NULL,
|
||||||
SYS_DEFAULT NUMBER NOT NULL,
|
SYS_DEFAULT INT NOT NULL,
|
||||||
SHOW_ORDER NUMBER NULL,
|
SHOW_ORDER INT NULL,
|
||||||
OPEN_TYPE NUMBER NULL,
|
OPEN_TYPE INT NULL,
|
||||||
CREATOR NUMBER NULL,
|
CREATOR INT NULL,
|
||||||
DELETE_TYPE NUMBER NULL,
|
DELETE_TYPE INT NULL,
|
||||||
CREATE_TIME DATE NULL,
|
CREATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||||
UPDATE_TIME DATE NULL,
|
UPDATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||||
CONSTRAINT JCL_ORG_CARDBUTTON_PK PRIMARY KEY (ID)
|
PRIMARY KEY (ID)
|
||||||
);
|
);
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE SEQUENCE JCL_ORG_CARDBUTTON_ID INCREMENT BY 1 START WITH 1 MAXVALUE 9223372036854775807 minvalue 1 NOCYCLE;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE
|
|
||||||
OR REPLACE TRIGGER JCL_ORG_CARDBUTTON_ID_TIGGER BEFORE INSERT ON JCL_ORG_CARDBUTTON FOR EACH ROW
|
|
||||||
BEGIN
|
|
||||||
SELECT
|
|
||||||
JCL_ORG_CARDBUTTON_ID.nextval INTO:new.ID
|
|
||||||
FROM
|
|
||||||
dual;
|
|
||||||
END;
|
|
||||||
/
|
|
||||||
|
|
||||||
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, SYSDATE, SYSDATE);
|
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, NOW(), NOW());
|
||||||
/
|
/
|
||||||
|
|
||||||
ALTER TABLE JCL_FIELD_EXTENDINFO ADD ISMODIFY NUMBER;
|
ALTER TABLE JCL_FIELD_EXTENDINFO ADD ISMODIFY INT;
|
||||||
/
|
/
|
||||||
|
|
||||||
ALTER TABLE JCL_FIELD_EXTENDINFO ADD MODIFY_PROPS NUMBER;
|
ALTER TABLE JCL_FIELD_EXTENDINFO ADD MODIFY_PROPS INT;
|
||||||
/
|
/
|
||||||
|
|
||||||
ALTER TABLE JCL_FIELD_EXTENDINFO ADD CHECK_PROPS NUMBER;
|
ALTER TABLE JCL_FIELD_EXTENDINFO ADD CHECK_PROPS INT;
|
||||||
/
|
/
|
||||||
|
|
||||||
update jcl_field_extendinfo set check_props = 2, modify_props = 2 where is_system_default = 1 and delete_type = 0;
|
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 NUMBER;
|
ALTER TABLE JCL_ORG_JOBEXT_DT1 ADD GROUP_ID INT;
|
||||||
/
|
/
|
@ -1,157 +1,118 @@
|
|||||||
CREATE TABLE HRMSUBCOMPANY_VERSION (
|
CREATE TABLE HRMSUBCOMPANY_VERSION (
|
||||||
ID NUMBER NOT NULL,
|
ID SERIAL NOT NULL,
|
||||||
SUBCOMID NUMBER NULL,
|
SUBCOMID INT NULL,
|
||||||
SUBCOMPANYDESC NVARCHAR2 ( 255 ) NULL,
|
SUBCOMPANYDESC VARCHAR ( 255 ) NULL,
|
||||||
SUBCOMPANYCODE NVARCHAR2 ( 255 ) NULL,
|
SUBCOMPANYCODE VARCHAR ( 255 ) NULL,
|
||||||
SUBCOMPANYNAME NVARCHAR2 ( 255 ) NULL,
|
SUBCOMPANYNAME VARCHAR ( 255 ) NULL,
|
||||||
SUPSUBCOMID NUMBER NULL,
|
SUPSUBCOMID INT NULL,
|
||||||
SHOWORDER NUMBER NULL,
|
SHOWORDER INT NULL,
|
||||||
CANCELED NUMBER NULL,
|
CANCELED INT NULL,
|
||||||
DESCRIPTION NVARCHAR2 ( 2000 ) NULL,
|
DESCRIPTION VARCHAR ( 2000 ) NULL,
|
||||||
OPERATOR NVARCHAR2 ( 255 ) NULL,
|
OPERATOR VARCHAR ( 255 ) NULL,
|
||||||
VERSION NUMBER ( 9,1 ) NULL,
|
VERSION DECIMAL ( 9,1 ) NULL,
|
||||||
OPERATE_TIME DATE NULL,
|
OPERATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||||
CONSTRAINT HRMSUBCOMPANY_VERSION_PK PRIMARY KEY ( ID )
|
PRIMARY KEY ( ID )
|
||||||
);
|
);
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE SEQUENCE HRMSUBCOMPANY_VERSION_ID INCREMENT BY 1 START WITH 1 MAXVALUE 9223372036854775807 minvalue 1 NOCYCLE;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE
|
|
||||||
OR REPLACE TRIGGER HRMCOMP_VERSION_ID_TIGGER BEFORE INSERT ON HRMSUBCOMPANY_VERSION FOR EACH ROW
|
|
||||||
BEGIN
|
|
||||||
SELECT
|
|
||||||
HRMSUBCOMPANY_VERSION_ID.nextval INTO :new.ID
|
|
||||||
FROM
|
|
||||||
dual;
|
|
||||||
|
|
||||||
END;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE TABLE HRMDEPARTMENT_VERSION (
|
CREATE TABLE HRMDEPARTMENT_VERSION (
|
||||||
ID NUMBER NOT NULL,
|
ID SERIAL NOT NULL,
|
||||||
DEPARTMENTID NUMBER NULL,
|
DEPARTMENTID INT NULL,
|
||||||
DEPARTMENTMARK NVARCHAR2 ( 255 ) NULL,
|
DEPARTMENTMARK VARCHAR ( 255 ) NULL,
|
||||||
DEPARTMENTCODE NVARCHAR2 ( 255 ) NULL,
|
DEPARTMENTCODE VARCHAR ( 255 ) NULL,
|
||||||
DEPARTMENTNAME NVARCHAR2 ( 255 ) NULL,
|
DEPARTMENTNAME VARCHAR ( 255 ) NULL,
|
||||||
SUBCOMPANYID1 NUMBER NULL,
|
SUBCOMPANYID1 INT NULL,
|
||||||
SUPDEPID NUMBER NULL,
|
SUPDEPID INT NULL,
|
||||||
BMFZR NVARCHAR2 ( 2000 ) NULL,
|
BMFZR VARCHAR ( 2000 ) NULL,
|
||||||
SHOWORDER NUMBER NULL,
|
SHOWORDER INT NULL,
|
||||||
CANCELED NUMBER NULL,
|
CANCELED INT NULL,
|
||||||
DESCRIPTION NVARCHAR2 ( 2000 ) NULL,
|
DESCRIPTION VARCHAR ( 2000 ) NULL,
|
||||||
OPERATOR NVARCHAR2 ( 255 ) NULL,
|
OPERATOR VARCHAR ( 255 ) NULL,
|
||||||
VERSION NUMBER ( 9,1 ) NULL,
|
VERSION DECIMAL ( 9,1 ) NULL,
|
||||||
OPERATE_TIME DATE NULL,
|
OPERATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||||
CONSTRAINT HRMDEPARTMENT_VERSION_PK PRIMARY KEY ( ID )
|
PRIMARY KEY ( ID )
|
||||||
);
|
);
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE SEQUENCE HRMDEPARTMENT_VERSION_ID INCREMENT BY 1 START WITH 1 MAXVALUE 9223372036854775807 minvalue 1 NOCYCLE;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE
|
|
||||||
OR REPLACE TRIGGER HRMDEPT_VERSION_ID_TIGGER BEFORE INSERT ON HRMDEPARTMENT_VERSION FOR EACH ROW
|
|
||||||
BEGIN
|
|
||||||
SELECT
|
|
||||||
HRMDEPARTMENT_VERSION_ID.nextval INTO :new.ID
|
|
||||||
FROM
|
|
||||||
dual;
|
|
||||||
END;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE TABLE "HRMRESOURCE_VERSION" (
|
create table HRMRESOURCE_VERSION (
|
||||||
"ID" NUMBER NOT NULL,
|
ID SERIAL NOT NULL,
|
||||||
"RESOURCEID" NUMBER,
|
RESOURCEID INT,
|
||||||
"COMPANYSTARTDATE" DATE NULL,
|
COMPANYSTARTDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
"COMPANYWORKYEAR" NUMBER,
|
COMPANYWORKYEAR INT,
|
||||||
"WORKSTARTDATE" DATE NULL,
|
WORKSTARTDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
"WORKYEAR" NUMBER,
|
WORKYEAR INT,
|
||||||
"USEKIND" NUMBER,
|
USEKIND INT,
|
||||||
"JOBCALL" NUMBER,
|
JOBCALL INT,
|
||||||
"ACCUMFUNDACCOUNT" NVARCHAR2 (100) NULL,
|
ACCUMFUNDACCOUNT VARCHAR (100) null,
|
||||||
"BIRTHPLACE" NVARCHAR2 (255) NULL,
|
BIRTHPLACE VARCHAR (255) null,
|
||||||
"FOLK" NVARCHAR2 (255) NULL,
|
FOLK VARCHAR (255) null,
|
||||||
"RESIDENTPHONE" NVARCHAR2 (255) NULL,
|
RESIDENTPHONE VARCHAR (255) null,
|
||||||
"RESIDENTPOSTCODE" NVARCHAR2 (1000) NULL,
|
RESIDENTPOSTCODE VARCHAR (1000) null,
|
||||||
"EXTPHONE" NVARCHAR2 (255) NULL,
|
EXTPHONE VARCHAR (255) null,
|
||||||
"MANAGERSTR" NVARCHAR2 (255) NULL,
|
MANAGERSTR VARCHAR (255) null,
|
||||||
"STATUS" NUMBER,
|
STATUS INT,
|
||||||
"FAX" NVARCHAR2 (255) NULL,
|
FAX VARCHAR (255) null,
|
||||||
"ISLABOUUNION" CHAR(10),
|
ISLABOUUNION CHAR(10),
|
||||||
"WEIGHT" NUMBER,
|
WEIGHT INT,
|
||||||
"TEMPRESIDENTNUMBER" VARCHAR2(1000),
|
TEMPRESIDENTNUMBER VARCHAR(1000),
|
||||||
"PROBATIONENDDATE" DATE NULL,
|
PROBATIONENDDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
"COUNTRYID" NUMBER DEFAULT 1,
|
COUNTRYID INT default 1,
|
||||||
"PASSWDCHGDATE" DATE NULL,
|
PASSWDCHGDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
"LLOGINID" VARCHAR2(1000),
|
LLOGINID VARCHAR(1000),
|
||||||
"DSPORDER" FLOAT(53),
|
DSPORDER FLOAT(53),
|
||||||
"PASSWORDSTATE" NUMBER,
|
PASSWORDSTATE INT,
|
||||||
"ACCOUNTTYPE" NUMBER,
|
ACCOUNTTYPE INT,
|
||||||
"BELONGTO" NUMBER,
|
BELONGTO INT,
|
||||||
"MESSAGERURL" VARCHAR2(1000),
|
MESSAGERURL VARCHAR(1000),
|
||||||
"ACCOUNTNAME" VARCHAR2(1000),
|
ACCOUNTNAME VARCHAR(1000),
|
||||||
"LOGINID" VARCHAR2(1000),
|
LOGINID VARCHAR(1000),
|
||||||
"PASSWORD" VARCHAR2(1000),
|
PASSWORD VARCHAR(1000),
|
||||||
"LASTNAME" VARCHAR2(1000),
|
LASTNAME VARCHAR(1000),
|
||||||
"SEX" CHAR(1),
|
SEX CHAR(1),
|
||||||
"BIRTHDAY" CHAR(10),
|
BIRTHDAY CHAR(10),
|
||||||
"NATIONALITY" NUMBER,
|
NATIONALITY INT,
|
||||||
"MARITALSTATUS" CHAR(1),
|
MARITALSTATUS CHAR(1),
|
||||||
"TELEPHONE" VARCHAR2(1000),
|
TELEPHONE VARCHAR(1000),
|
||||||
"MOBILE" VARCHAR2(1000),
|
MOBILE VARCHAR(1000),
|
||||||
"MOBILECALL" VARCHAR2(1000),
|
MOBILECALL VARCHAR(1000),
|
||||||
"EMAIL" VARCHAR2(1000),
|
EMAIL VARCHAR(1000),
|
||||||
"LOCATIONID" NUMBER,
|
LOCATIONID INT,
|
||||||
"WORKROOM" VARCHAR2(1000),
|
WORKROOM VARCHAR(1000),
|
||||||
"HOMEADDRESS" VARCHAR2(1000),
|
HOMEADDRESS VARCHAR(1000),
|
||||||
"RESOURCETYPE" CHAR(1),
|
RESOURCETYPE CHAR(1),
|
||||||
"STARTDATE" DATE NULL,
|
STARTDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
"ENDDATE" DATE NULL,
|
ENDDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
"JOBTITLE" NUMBER,
|
JOBTITLE INT,
|
||||||
"JOBACTIVITYDESC" VARCHAR2(1000),
|
JOBACTIVITYDESC VARCHAR(1000),
|
||||||
"JOBLEVEL" NUMBER,
|
JOBLEVEL INT,
|
||||||
"SECLEVEL" NUMBER,
|
SECLEVEL INT,
|
||||||
"DEPARTMENTID" NUMBER,
|
DEPARTMENTID INT,
|
||||||
"SUBCOMPANYID1" NUMBER,
|
SUBCOMPANYID1 INT,
|
||||||
"COSTCENTERID" NUMBER,
|
COSTCENTERID INT,
|
||||||
"MANAGERID" NUMBER,
|
MANAGERID INT,
|
||||||
"ASSISTANTID" NUMBER,
|
ASSISTANTID INT,
|
||||||
"BANKID1" NUMBER,
|
BANKID1 INT,
|
||||||
"ACCOUNTID1" VARCHAR2(1000),
|
ACCOUNTID1 VARCHAR(1000),
|
||||||
"RESOURCEIMAGEID" NUMBER,
|
RESOURCEIMAGEID INT,
|
||||||
"CERTIFICATENUM" VARCHAR2(1000),
|
CERTIFICATENUM VARCHAR(1000),
|
||||||
"NATIVEPLACE" VARCHAR2(1000),
|
NATIVEPLACE VARCHAR(1000),
|
||||||
"EDUCATIONLEVEL" NUMBER,
|
EDUCATIONLEVEL INT,
|
||||||
"BEMEMBERDATE" DATE NULL,
|
BEMEMBERDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
"BEPARTYDATE" DATE NULL,
|
BEPARTYDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
"WORKCODE" VARCHAR2(1000),
|
WORKCODE VARCHAR(1000),
|
||||||
"REGRESIDENTPLACE" VARCHAR2(1000),
|
REGRESIDENTPLACE VARCHAR(1000),
|
||||||
"HEALTHINFO" CHAR(1),
|
HEALTHINFO CHAR(1),
|
||||||
"RESIDENTPLACE" VARCHAR2(1000),
|
RESIDENTPLACE VARCHAR(1000),
|
||||||
"POLICY" VARCHAR2(1000),
|
POLICY VARCHAR(1000),
|
||||||
"DEGREE" VARCHAR2(1000),
|
DEGREE VARCHAR(1000),
|
||||||
"HEIGHT" VARCHAR2(640),
|
HEIGHT VARCHAR(640),
|
||||||
"CLASSIFICATION" CHAR(1) DEFAULT 3,
|
CLASSIFICATION CHAR(1) default 3,
|
||||||
"DESCRIPTION" VARCHAR2 ( 2000 ) NULL,
|
DESCRIPTION VARCHAR (2000) null,
|
||||||
"OPERATOR" VARCHAR2 ( 255 ) NULL,
|
OPERATOR VARCHAR (255) null,
|
||||||
"VERSION" NUMBER ( 9, 1 ) NULL,
|
VERSION DECIMAL ( 9,1 ) null,
|
||||||
"OPERATE_TIME" DATE NULL,
|
OPERATE_TIME TIMESTAMP WITHOUT TIME ZONE null,
|
||||||
CONSTRAINT HRMRESOURCE_VERSION_PK PRIMARY KEY ( ID )
|
primary key (ID)
|
||||||
);
|
);
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE SEQUENCE HRMRESOURCE_VERSION_ID INCREMENT BY 1 START WITH 1 MAXVALUE 9223372036854775807 minvalue 1 NOCYCLE;
|
|
||||||
/
|
|
||||||
|
|
||||||
CREATE
|
|
||||||
OR REPLACE TRIGGER HRMRES_VERSION_ID_TIGGER BEFORE INSERT ON HRMRESOURCE_VERSION FOR EACH ROW
|
|
||||||
BEGIN
|
|
||||||
SELECT
|
|
||||||
HRMRESOURCE_VERSION_ID.nextval INTO :new.ID
|
|
||||||
FROM
|
|
||||||
dual;
|
|
||||||
|
|
||||||
END;
|
|
||||||
/
|
|
@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE JCL_ORG_SCHEME ADD SUBCOMPANYID NUMBER;
|
||||||
|
/
|
@ -0,0 +1,44 @@
|
|||||||
|
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)!=octet_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)=octet_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 SERIAL NOT NULL,
|
||||||
|
APP_SECRET VARCHAR(255) NULL,
|
||||||
|
URL VARCHAR(255) NULL,
|
||||||
|
PC_ADDRESS VARCHAR(255) NULL,
|
||||||
|
MOBILE_ADDRESS VARCHAR(255) NULL,
|
||||||
|
SECOND_URL VARCHAR(255) NULL,
|
||||||
|
CREATOR INT NULL,
|
||||||
|
CREATEDATE VARCHAR(10) NULL,
|
||||||
|
PRIMARY KEY (ID)
|
||||||
|
);
|
||||||
|
/
|
@ -0,0 +1,2 @@
|
|||||||
|
alter table jcl_org_scheme add subcompanyid int
|
||||||
|
GO
|
@ -0,0 +1,43 @@
|
|||||||
|
delete from HtmlLabelIndex where id = 544789 and ( indexdesc is null or indexdesc = '' )
|
||||||
|
GO
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select top 1 544789,'企通学配置自定义' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544789 and ( indexdesc is not null and indexdesc <> '' ))
|
||||||
|
GO
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=7 and ( labelname is null or labelname = '' )
|
||||||
|
GO
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 <> '' ))
|
||||||
|
GO
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=8 and ( labelname is null or labelname = '' or labelname like '%[吖-座]%' )
|
||||||
|
GO
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 labelname not like '%[吖-座]%' ))
|
||||||
|
GO
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=9 and ( labelname is null or labelname = '' )
|
||||||
|
GO
|
||||||
|
insert into HtmlLabelInfo(indexid,labelname,languageid) select * from (select top 1 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 <> '' ))
|
||||||
|
GO
|
||||||
|
delete from HtmlModuleLabel where indexId = 544789 and moduleCode = 'HRM' and type = 'label'
|
||||||
|
GO
|
||||||
|
insert into HtmlModuleLabel(type,moduleCode,indexId) values ('label','HRM',544789)
|
||||||
|
GO
|
||||||
|
|
||||||
|
Delete from LeftMenuInfo where id=100190
|
||||||
|
GO
|
||||||
|
Delete from LeftMenuConfig where infoid=100190
|
||||||
|
GO
|
||||||
|
EXECUTE LMConfig_U_ByInfoInsert 2,100167,3
|
||||||
|
GO
|
||||||
|
EXECUTE LMInfo_Insert 100190,544789,'','',2,100167,3,2
|
||||||
|
GO
|
||||||
|
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/qtxConfig' where id = 100190
|
||||||
|
GO
|
||||||
|
|
||||||
|
CREATE TABLE [JCL_ORG_QTXCONFIG] (
|
||||||
|
[ID] int IDENTITY(1,1) NOT NULL,
|
||||||
|
[APP_SECRET] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,
|
||||||
|
[URL] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,
|
||||||
|
[PC_ADDRESS] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,
|
||||||
|
[MOBILE_ADDRESS] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,
|
||||||
|
[SECOND_URL] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,
|
||||||
|
[CREATOR] int NULL,
|
||||||
|
[CREATEDATE] varchar(255) COLLATE Chinese_PRC_CI_AS NULL,
|
||||||
|
)
|
||||||
|
GO
|
@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE JCL_ORG_SCHEME ADD SUBCOMPANYID NUMBER;
|
||||||
|
/
|
||||||
|
|
@ -0,0 +1,71 @@
|
|||||||
|
delete from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is null );
|
||||||
|
/
|
||||||
|
|
||||||
|
insert into HtmlLabelIndex(id,indexdesc) select 544789,'企通学配置自定义' from HtmlLabelIndex where not exists (select id from HtmlLabelIndex where id = 544789 and ( trim(indexdesc) is not null )) and rownum = 1;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=7 and ( trim(labelname) is null );
|
||||||
|
/
|
||||||
|
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 1;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1;
|
||||||
|
/
|
||||||
|
|
||||||
|
delete from HtmlLabelInfo where indexid = 544789 and languageid=9 and ( trim(labelname) is null );
|
||||||
|
/
|
||||||
|
|
||||||
|
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 ( trim(labelname) is not null )) and rownum = 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 NUMBER NOT NULL,
|
||||||
|
APP_SECRET NVARCHAR2(255) NULL,
|
||||||
|
URL NVARCHAR2(255) NULL,
|
||||||
|
PC_ADDRESS NVARCHAR2(255) NULL,
|
||||||
|
MOBILE_ADDRESS NVARCHAR2(255) NULL,
|
||||||
|
SECOND_URL NVARCHAR2(255) NULL,
|
||||||
|
CREATOR NUMBER NULL,
|
||||||
|
CREATEDATE NVARCHAR2(10) NULL,
|
||||||
|
CONSTRAINT JCL_ORG_QTXCONFIG_PK PRIMARY KEY (ID)
|
||||||
|
);
|
||||||
|
/
|
||||||
|
|
||||||
|
CREATE SEQUENCE JCL_ORG_QTXCONFIG_ID INCREMENT BY 1 START WITH 1 nomaxvalue minvalue 1 NOCYCLE;
|
||||||
|
/
|
||||||
|
|
||||||
|
CREATE
|
||||||
|
OR REPLACE TRIGGER JCL_ORG_QTXCONFIG_ID_TIGGER BEFORE INSERT ON JCL_ORG_QTXCONFIG FOR EACH ROW
|
||||||
|
BEGIN
|
||||||
|
SELECT
|
||||||
|
JCL_ORG_QTXCONFIG_ID.nextval INTO:new.ID
|
||||||
|
FROM
|
||||||
|
dual;
|
||||||
|
END;
|
||||||
|
/
|
||||||
|
|
Loading…
Reference in New Issue