You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
klhis/sql/temp-sjcl.txt

61 lines
2.3 KiB

update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openMain.cloundControl.authority','com.main.authority')
where instr(ALL_CLASSNAME, 'com.openMain.cloundControl.authority')>0;
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openMain.cloundControl.yljg','com.main.yljg')
where instr(ALL_CLASSNAME, 'com.openMain.cloundControl.yljg')>0;
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openMain.cloundControl','com.main')
where instr(ALL_CLASSNAME, 'com.openMain.cloundControl')>0;
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openMain.design','com.openDesign.design')
where instr(ALL_CLASSNAME, 'com.openMain.design')>0;
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.his.xtgl.HisBaseYpxx','com.his.yp.HisBaseYpxx')
where ALL_CLASSNAME='com.his.xtgl.HisBaseYpxx';
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openReport','com.report')
where instr(ALL_CLASSNAME, 'com.openReport')>0;
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openMain.printSetup','com.main.printSetup')
where instr(ALL_CLASSNAME, 'com.openMain.printSetup')>0;
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openEmr.base','com.emr.base')
where instr(ALL_CLASSNAME, 'com.openEmr.base')>0;
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openMain.control','com.main')
where instr(ALL_CLASSNAME, 'com.openMain.control')>0;
update MAIN_MENU
set ALL_CLASSNAME='com.his.yp.Hiscsxx'
where ALL_CLASSNAME='com.his.xtgl.Hiscsxx';
update MAIN_MENU
set ALL_CLASSNAME=replace(ALL_CLASSNAME,'com.openHis.xtgl','com.his.yp')
where instr(ALL_CLASSNAME, 'com.openHis.xtgl.HisYp')>0;
update MAIN_MENU
set ALL_CLASSNAME='com.his.yp.HisJgYpxx'
where ALL_CLASSNAME='com.his.xtgl.HisJgYpxxNewForm';
alter table HIS_BQ modify SCBZ VARCHAR2(1) default 1;
alter table MAIN_YHZCD add QXLB varchar2(10);
comment on column MAIN_YHZCD.QXLB is '权限类别';
alter table MAIN_YHZCD add JGID varchar2(36);
comment on column MAIN_YHZCD.JGID is '机构id';
alter table MAIN_YHZCD add YHID varchar2(36);
comment on column MAIN_YHZCD.YHID is '用户ID';
alter table MAIN_YHZCD add MKBM varchar2(36);
comment on column MAIN_YHZCD.MKBM is '模块编码';
ALTER TABLE HIS_YZ_PC ADD(ISLZKY VARCHAR2(1) DEFAULT 0 NOT NULL);
COMMENT ON COLUMN HIS_YZ_PC.ISLZKY IS '是否临嘱可用';