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 ( trim(indexdesc) is not null )) and rownum = 1;
|
||||
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
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=7 and ( trim(labelname) is null );
|
||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=7 and ( labelname is null or labelname = '' )
|
||||
;
|
||||
/
|
||||
|
||||
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;
|
||||
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
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) );
|
||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 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 ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=9 and ( trim(labelname) is null );
|
||||
delete from HtmlLabelInfo where indexid = 539805 and languageid=9 and ( labelname is null or labelname = '' )
|
||||
;
|
||||
/
|
||||
|
||||
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;
|
||||
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
|
||||
;
|
||||
/
|
||||
|
||||
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 = '' )
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=7 and ( trim(labelname) is null );
|
||||
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
|
||||
;
|
||||
/
|
||||
|
||||
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;
|
||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=7 and ( labelname is null or labelname = '' )
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(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 ( labelname is not null and labelname <> '' )) limit 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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 1;
|
||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=8 and ( labelname is null or labelname = '' or length(labelname)!=char_length(labelname) )
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=9 and ( trim(labelname) is null );
|
||||
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
|
||||
;
|
||||
/
|
||||
|
||||
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;
|
||||
delete from HtmlLabelInfo where indexid = 539804 and languageid=9 and ( labelname is null or labelname = '' )
|
||||
;
|
||||
/
|
||||
|
||||
Delete from LeftMenuInfo where id=100178;
|
||||
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 LeftMenuConfig where infoid=100178;
|
||||
Delete from LeftMenuInfo where id=100178
|
||||
;
|
||||
/
|
||||
|
||||
call LMConfig_U_ByInfoInsert (2,100139,5);
|
||||
Delete from LeftMenuConfig where infoid=100178
|
||||
;
|
||||
/
|
||||
|
||||
call LMInfo_Insert (100178,539804,'','',2,100139,5,2);
|
||||
select LMConfig_U_ByInfoInsert (2,100139,5)
|
||||
;
|
||||
/
|
||||
|
||||
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='' where id = 100178;
|
||||
select LMInfo_Insert (100178,539804,'','',2,100139,5,2)
|
||||
;
|
||||
/
|
||||
|
||||
Delete from LeftMenuInfo where id=100179;
|
||||
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='' where id = 100178
|
||||
;
|
||||
/
|
||||
|
||||
Delete from LeftMenuConfig where infoid=100179;
|
||||
Delete from LeftMenuInfo where id=100179
|
||||
;
|
||||
/
|
||||
|
||||
call LMConfig_U_ByInfoInsert (2,100178,-1);
|
||||
Delete from LeftMenuConfig where infoid=100179
|
||||
;
|
||||
/
|
||||
|
||||
call LMInfo_Insert (100179,539805,'','',2,100178,-1,2);
|
||||
select LMConfig_U_ByInfoInsert (2,100178,-1)
|
||||
;
|
||||
/
|
||||
|
||||
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/managerDetach' where id = 100179;
|
||||
select LMInfo_Insert (100179,539805,'','',2,100178,-1,2)
|
||||
;
|
||||
/
|
||||
|
||||
delete from SystemRightDetail where rightid =2727;
|
||||
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/organization/static/index.html#/main/organization/managerDetach' where id = 100179
|
||||
;
|
||||
/
|
||||
|
||||
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 SystemRightType where id =37;
|
||||
delete from SystemRightsLanguage where id =2727
|
||||
;
|
||||
/
|
||||
|
||||
delete from SystemRightGroups where id =-23;
|
||||
delete from SystemRights where id =2727
|
||||
;
|
||||
/
|
||||
|
||||
insert into SystemRights (id,rightdesc,righttype,detachable) values (2727,'模块管理分权','37',0);
|
||||
delete from SystemRightToGroup where rightid =2727
|
||||
;
|
||||
/
|
||||
|
||||
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,8,'Decentralization of module management','Decentralization of module management');
|
||||
delete from SystemRightType where id =37
|
||||
;
|
||||
/
|
||||
|
||||
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,9,'模塊管理分權','模塊管理分權');
|
||||
delete from SystemRightGroups where id =-23
|
||||
;
|
||||
/
|
||||
|
||||
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,7,'模块管理分权','模块管理分权');
|
||||
insert into SystemRights (id,rightdesc,righttype,detachable) values (2727,'模块管理分权','37',0)
|
||||
;
|
||||
/
|
||||
|
||||
insert into SystemRightDetail (id,rightdetailname,rightdetail,rightid) values (44005,'模块管理分权权限','MangerDeatch:All',2727);
|
||||
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,8,'Decentralization of module management','Decentralization of module management')
|
||||
;
|
||||
/
|
||||
|
||||
insert into SystemRightToGroup(rightid,groupid) values (2727,-23);
|
||||
insert into SystemRightsLanguage (id,languageid,rightname,rightdesc) values (2727,9,'模塊管理分權','模塊管理分權')
|
||||
;
|
||||
/
|
||||
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 (
|
||||
ID NUMBER NOT NULL,
|
||||
MANAGER_TYPE NUMBER NULL,
|
||||
EC_MANAGER NUMBER NOT NULL,
|
||||
JCL_MANAGER NUMBER NOT NULL,
|
||||
ID SERIAL NOT NULL,
|
||||
MANAGER_TYPE INT NULL,
|
||||
EC_MANAGER INT NOT NULL,
|
||||
JCL_MANAGER INT NOT NULL,
|
||||
EC_ROLELEVEL VARCHAR(4000) NOT NULL,
|
||||
JCL_ROLELEVEL VARCHAR(4000) NOT NULL,
|
||||
MANAGE_MODULE VARCHAR(4000) NOT NULL,
|
||||
CREATOR NUMBER NULL,
|
||||
DELETE_TYPE NUMBER NULL,
|
||||
CREATE_TIME DATE NULL,
|
||||
UPDATE_TIME DATE NULL,
|
||||
CONSTRAINT JCL_ORG_DETACH_PK PRIMARY KEY (ID)
|
||||
CREATOR INT NULL,
|
||||
DELETE_TYPE INT NULL,
|
||||
CREATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||
UPDATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||
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 ( trim(indexdesc) is not null )) and rownum = 1;
|
||||
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
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539986 and languageid=7 and ( trim(labelname) is null );
|
||||
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 ,'人员卡片栏目设置' 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;
|
||||
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
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539986 and languageid=8 and ( trim(labelname) is null or length(labelname)!=lengthb(labelname) );
|
||||
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 ( trim(labelname) is not null and length(labelname)=lengthb(labelname) )) and rownum = 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 ( labelname is not null and labelname <> '' and length(labelname)=char_length(labelname) )) limit 1
|
||||
;
|
||||
/
|
||||
|
||||
delete from HtmlLabelInfo where indexid = 539986 and languageid=9 and ( trim(labelname) is null );
|
||||
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 ,'人員卡片欄目設置' 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;
|
||||
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
|
||||
;
|
||||
/
|
||||
|
||||
Delete from LeftMenuInfo where id=100173;
|
||||
Delete from LeftMenuInfo where id=100173
|
||||
;
|
||||
/
|
||||
|
||||
Delete from LeftMenuConfig where infoid=100173;
|
||||
Delete from LeftMenuConfig where infoid=100173
|
||||
;
|
||||
/
|
||||
|
||||
call LMConfig_U_ByInfoInsert (2,100167,3);
|
||||
select LMConfig_U_ByInfoInsert (2,100167,3)
|
||||
;
|
||||
/
|
||||
|
||||
call LMInfo_Insert (100173,539986,'','',2,100167,3,2);
|
||||
select 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 (
|
||||
ID NUMBER NOT NULL,
|
||||
TYPE_ID NUMBER NOT NULL,
|
||||
TYPE_NAME NVARCHAR2(50) NOT NULL,
|
||||
STATUS NUMBER NULL,
|
||||
ALL_PEOPLE NUMBER NULL,
|
||||
SUPERIOR NUMBER NULL,
|
||||
ALL_SUPERIOR NUMBER NULL,
|
||||
CUSTOM NVARCHAR2(2000) NULL ,
|
||||
DELETE_TYPE NUMBER NULL,
|
||||
CREATOR NUMBER NULL,
|
||||
CREATE_TIME DATE NULL,
|
||||
UPDATE_TIME DATE NULL,
|
||||
CONSTRAINT JCL_ORG_CARDACCESS_PK PRIMARY KEY (ID)
|
||||
ID SERIAL 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 TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||
UPDATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||
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 (
|
||||
ID NUMBER NOT NULL,
|
||||
NAME NVARCHAR2(255) NOT NULL,
|
||||
STATUS NUMBER NULL,
|
||||
URL NVARCHAR2(255) NULL,
|
||||
ROLES NVARCHAR2(2000) NULL,
|
||||
SYS_DEFAULT NUMBER NOT NULL,
|
||||
SHOW_ORDER NUMBER NULL,
|
||||
OPEN_TYPE NUMBER NULL,
|
||||
CREATOR NUMBER NULL,
|
||||
DELETE_TYPE NUMBER NULL,
|
||||
CREATE_TIME DATE NULL,
|
||||
UPDATE_TIME DATE NULL,
|
||||
CONSTRAINT JCL_ORG_CARDBUTTON_PK PRIMARY KEY (ID)
|
||||
ID SERIAL 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 TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||
UPDATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||
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;
|
||||
/
|
||||
|
||||
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 (
|
||||
ID NUMBER NOT NULL,
|
||||
SUBCOMID NUMBER NULL,
|
||||
SUBCOMPANYDESC NVARCHAR2 ( 255 ) NULL,
|
||||
SUBCOMPANYCODE NVARCHAR2 ( 255 ) NULL,
|
||||
SUBCOMPANYNAME NVARCHAR2 ( 255 ) NULL,
|
||||
SUPSUBCOMID NUMBER NULL,
|
||||
SHOWORDER NUMBER NULL,
|
||||
CANCELED NUMBER NULL,
|
||||
DESCRIPTION NVARCHAR2 ( 2000 ) NULL,
|
||||
OPERATOR NVARCHAR2 ( 255 ) NULL,
|
||||
VERSION NUMBER ( 9,1 ) NULL,
|
||||
OPERATE_TIME DATE NULL,
|
||||
CONSTRAINT HRMSUBCOMPANY_VERSION_PK PRIMARY KEY ( ID )
|
||||
ID SERIAL NOT NULL,
|
||||
SUBCOMID INT NULL,
|
||||
SUBCOMPANYDESC VARCHAR ( 255 ) NULL,
|
||||
SUBCOMPANYCODE VARCHAR ( 255 ) NULL,
|
||||
SUBCOMPANYNAME VARCHAR ( 255 ) NULL,
|
||||
SUPSUBCOMID INT NULL,
|
||||
SHOWORDER INT NULL,
|
||||
CANCELED INT NULL,
|
||||
DESCRIPTION VARCHAR ( 2000 ) NULL,
|
||||
OPERATOR VARCHAR ( 255 ) NULL,
|
||||
VERSION DECIMAL ( 9,1 ) NULL,
|
||||
OPERATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||
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 (
|
||||
ID NUMBER NOT NULL,
|
||||
DEPARTMENTID NUMBER NULL,
|
||||
DEPARTMENTMARK NVARCHAR2 ( 255 ) NULL,
|
||||
DEPARTMENTCODE NVARCHAR2 ( 255 ) NULL,
|
||||
DEPARTMENTNAME NVARCHAR2 ( 255 ) NULL,
|
||||
SUBCOMPANYID1 NUMBER NULL,
|
||||
SUPDEPID NUMBER NULL,
|
||||
BMFZR NVARCHAR2 ( 2000 ) NULL,
|
||||
SHOWORDER NUMBER NULL,
|
||||
CANCELED NUMBER NULL,
|
||||
DESCRIPTION NVARCHAR2 ( 2000 ) NULL,
|
||||
OPERATOR NVARCHAR2 ( 255 ) NULL,
|
||||
VERSION NUMBER ( 9,1 ) NULL,
|
||||
OPERATE_TIME DATE NULL,
|
||||
CONSTRAINT HRMDEPARTMENT_VERSION_PK PRIMARY KEY ( ID )
|
||||
ID SERIAL NOT NULL,
|
||||
DEPARTMENTID INT NULL,
|
||||
DEPARTMENTMARK VARCHAR ( 255 ) NULL,
|
||||
DEPARTMENTCODE VARCHAR ( 255 ) NULL,
|
||||
DEPARTMENTNAME VARCHAR ( 255 ) NULL,
|
||||
SUBCOMPANYID1 INT NULL,
|
||||
SUPDEPID INT NULL,
|
||||
BMFZR VARCHAR ( 2000 ) NULL,
|
||||
SHOWORDER INT NULL,
|
||||
CANCELED INT NULL,
|
||||
DESCRIPTION VARCHAR ( 2000 ) NULL,
|
||||
OPERATOR VARCHAR ( 255 ) NULL,
|
||||
VERSION DECIMAL ( 9,1 ) NULL,
|
||||
OPERATE_TIME TIMESTAMP WITHOUT TIME ZONE NULL,
|
||||
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" (
|
||||
"ID" NUMBER NOT NULL,
|
||||
"RESOURCEID" NUMBER,
|
||||
"COMPANYSTARTDATE" DATE NULL,
|
||||
"COMPANYWORKYEAR" NUMBER,
|
||||
"WORKSTARTDATE" DATE NULL,
|
||||
"WORKYEAR" NUMBER,
|
||||
"USEKIND" NUMBER,
|
||||
"JOBCALL" NUMBER,
|
||||
"ACCUMFUNDACCOUNT" NVARCHAR2 (100) NULL,
|
||||
"BIRTHPLACE" NVARCHAR2 (255) NULL,
|
||||
"FOLK" NVARCHAR2 (255) NULL,
|
||||
"RESIDENTPHONE" NVARCHAR2 (255) NULL,
|
||||
"RESIDENTPOSTCODE" NVARCHAR2 (1000) NULL,
|
||||
"EXTPHONE" NVARCHAR2 (255) NULL,
|
||||
"MANAGERSTR" NVARCHAR2 (255) NULL,
|
||||
"STATUS" NUMBER,
|
||||
"FAX" NVARCHAR2 (255) NULL,
|
||||
"ISLABOUUNION" CHAR(10),
|
||||
"WEIGHT" NUMBER,
|
||||
"TEMPRESIDENTNUMBER" VARCHAR2(1000),
|
||||
"PROBATIONENDDATE" DATE NULL,
|
||||
"COUNTRYID" NUMBER DEFAULT 1,
|
||||
"PASSWDCHGDATE" DATE NULL,
|
||||
"LLOGINID" VARCHAR2(1000),
|
||||
"DSPORDER" FLOAT(53),
|
||||
"PASSWORDSTATE" NUMBER,
|
||||
"ACCOUNTTYPE" NUMBER,
|
||||
"BELONGTO" NUMBER,
|
||||
"MESSAGERURL" VARCHAR2(1000),
|
||||
"ACCOUNTNAME" VARCHAR2(1000),
|
||||
"LOGINID" VARCHAR2(1000),
|
||||
"PASSWORD" VARCHAR2(1000),
|
||||
"LASTNAME" VARCHAR2(1000),
|
||||
"SEX" CHAR(1),
|
||||
"BIRTHDAY" CHAR(10),
|
||||
"NATIONALITY" NUMBER,
|
||||
"MARITALSTATUS" CHAR(1),
|
||||
"TELEPHONE" VARCHAR2(1000),
|
||||
"MOBILE" VARCHAR2(1000),
|
||||
"MOBILECALL" VARCHAR2(1000),
|
||||
"EMAIL" VARCHAR2(1000),
|
||||
"LOCATIONID" NUMBER,
|
||||
"WORKROOM" VARCHAR2(1000),
|
||||
"HOMEADDRESS" VARCHAR2(1000),
|
||||
"RESOURCETYPE" CHAR(1),
|
||||
"STARTDATE" DATE NULL,
|
||||
"ENDDATE" DATE NULL,
|
||||
"JOBTITLE" NUMBER,
|
||||
"JOBACTIVITYDESC" VARCHAR2(1000),
|
||||
"JOBLEVEL" NUMBER,
|
||||
"SECLEVEL" NUMBER,
|
||||
"DEPARTMENTID" NUMBER,
|
||||
"SUBCOMPANYID1" NUMBER,
|
||||
"COSTCENTERID" NUMBER,
|
||||
"MANAGERID" NUMBER,
|
||||
"ASSISTANTID" NUMBER,
|
||||
"BANKID1" NUMBER,
|
||||
"ACCOUNTID1" VARCHAR2(1000),
|
||||
"RESOURCEIMAGEID" NUMBER,
|
||||
"CERTIFICATENUM" VARCHAR2(1000),
|
||||
"NATIVEPLACE" VARCHAR2(1000),
|
||||
"EDUCATIONLEVEL" NUMBER,
|
||||
"BEMEMBERDATE" DATE NULL,
|
||||
"BEPARTYDATE" DATE NULL,
|
||||
"WORKCODE" VARCHAR2(1000),
|
||||
"REGRESIDENTPLACE" VARCHAR2(1000),
|
||||
"HEALTHINFO" CHAR(1),
|
||||
"RESIDENTPLACE" VARCHAR2(1000),
|
||||
"POLICY" VARCHAR2(1000),
|
||||
"DEGREE" VARCHAR2(1000),
|
||||
"HEIGHT" VARCHAR2(640),
|
||||
"CLASSIFICATION" CHAR(1) DEFAULT 3,
|
||||
"DESCRIPTION" VARCHAR2 ( 2000 ) NULL,
|
||||
"OPERATOR" VARCHAR2 ( 255 ) NULL,
|
||||
"VERSION" NUMBER ( 9, 1 ) NULL,
|
||||
"OPERATE_TIME" DATE NULL,
|
||||
CONSTRAINT HRMRESOURCE_VERSION_PK PRIMARY KEY ( ID )
|
||||
create table HRMRESOURCE_VERSION (
|
||||
ID SERIAL NOT NULL,
|
||||
RESOURCEID INT,
|
||||
COMPANYSTARTDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||
COMPANYWORKYEAR INT,
|
||||
WORKSTARTDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||
WORKYEAR INT,
|
||||
USEKIND INT,
|
||||
JOBCALL INT,
|
||||
ACCUMFUNDACCOUNT VARCHAR (100) null,
|
||||
BIRTHPLACE VARCHAR (255) null,
|
||||
FOLK VARCHAR (255) null,
|
||||
RESIDENTPHONE VARCHAR (255) null,
|
||||
RESIDENTPOSTCODE VARCHAR (1000) null,
|
||||
EXTPHONE VARCHAR (255) null,
|
||||
MANAGERSTR VARCHAR (255) null,
|
||||
STATUS INT,
|
||||
FAX VARCHAR (255) null,
|
||||
ISLABOUUNION CHAR(10),
|
||||
WEIGHT INT,
|
||||
TEMPRESIDENTNUMBER VARCHAR(1000),
|
||||
PROBATIONENDDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||
COUNTRYID INT default 1,
|
||||
PASSWDCHGDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||
LLOGINID VARCHAR(1000),
|
||||
DSPORDER FLOAT(53),
|
||||
PASSWORDSTATE INT,
|
||||
ACCOUNTTYPE INT,
|
||||
BELONGTO INT,
|
||||
MESSAGERURL VARCHAR(1000),
|
||||
ACCOUNTNAME VARCHAR(1000),
|
||||
LOGINID VARCHAR(1000),
|
||||
PASSWORD VARCHAR(1000),
|
||||
LASTNAME VARCHAR(1000),
|
||||
SEX CHAR(1),
|
||||
BIRTHDAY CHAR(10),
|
||||
NATIONALITY INT,
|
||||
MARITALSTATUS CHAR(1),
|
||||
TELEPHONE VARCHAR(1000),
|
||||
MOBILE VARCHAR(1000),
|
||||
MOBILECALL VARCHAR(1000),
|
||||
EMAIL VARCHAR(1000),
|
||||
LOCATIONID INT,
|
||||
WORKROOM VARCHAR(1000),
|
||||
HOMEADDRESS VARCHAR(1000),
|
||||
RESOURCETYPE CHAR(1),
|
||||
STARTDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||
ENDDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||
JOBTITLE INT,
|
||||
JOBACTIVITYDESC VARCHAR(1000),
|
||||
JOBLEVEL INT,
|
||||
SECLEVEL INT,
|
||||
DEPARTMENTID INT,
|
||||
SUBCOMPANYID1 INT,
|
||||
COSTCENTERID INT,
|
||||
MANAGERID INT,
|
||||
ASSISTANTID INT,
|
||||
BANKID1 INT,
|
||||
ACCOUNTID1 VARCHAR(1000),
|
||||
RESOURCEIMAGEID INT,
|
||||
CERTIFICATENUM VARCHAR(1000),
|
||||
NATIVEPLACE VARCHAR(1000),
|
||||
EDUCATIONLEVEL INT,
|
||||
BEMEMBERDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||
BEPARTYDATE TIMESTAMP WITHOUT TIME ZONE null,
|
||||
WORKCODE VARCHAR(1000),
|
||||
REGRESIDENTPLACE VARCHAR(1000),
|
||||
HEALTHINFO CHAR(1),
|
||||
RESIDENTPLACE VARCHAR(1000),
|
||||
POLICY VARCHAR(1000),
|
||||
DEGREE VARCHAR(1000),
|
||||
HEIGHT VARCHAR(640),
|
||||
CLASSIFICATION CHAR(1) default 3,
|
||||
DESCRIPTION VARCHAR (2000) null,
|
||||
OPERATOR VARCHAR (255) null,
|
||||
VERSION DECIMAL ( 9,1 ) null,
|
||||
OPERATE_TIME TIMESTAMP WITHOUT TIME ZONE null,
|
||||
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
|
File diff suppressed because it is too large
Load Diff
@ -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