You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
weaver-hrm-organization/docs/sqlupgrade/SQLServer/sql202212120302.sql

67 lines
2.6 KiB
MySQL

2 years ago
Delete from LeftMenuInfo where id=100146
GO
Delete from LeftMenuConfig where infoid=100146
GO
Delete from LeftMenuInfo where id=100174
GO
Delete from LeftMenuConfig where infoid=100174
GO
Delete from LeftMenuInfo where id=100175
GO
Delete from LeftMenuConfig where infoid=100175
GO
Delete from LeftMenuInfo where id=100168
GO
Delete from LeftMenuConfig where infoid=100168
GO
EXECUTE LMConfig_U_ByInfoInsert 2,100167,-1
GO
EXECUTE LMInfo_Insert 100168,538765,'','',2,100167,-1,2
GO
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrm/static4engine/engine.html#/hrmengine/fieldDef/subCompany' where id = 100168
GO
Delete from LeftMenuInfo where id=100169
GO
Delete from LeftMenuConfig where infoid=100169
GO
EXECUTE LMConfig_U_ByInfoInsert 2,100167,0
GO
EXECUTE LMInfo_Insert 100169,538766,'','',2,100167,0,2
GO
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrm/static4engine/engine.html#/hrmengine/fieldDef/department' where id = 100169
GO
Delete from LeftMenuInfo where id=100171
GO
Delete from LeftMenuConfig where infoid=100171
GO
EXECUTE LMConfig_U_ByInfoInsert 2,100167,2
GO
EXECUTE LMInfo_Insert 100171,538767,'','',2,100167,2,2
GO
update LeftMenuInfo set mobxrouteurl = '',iconClassName = '',fullrouteurl='/spa/hrm/static4engine/engine.html#/hrmengine/fieldDef/resource' where id = 100171
GO
alter table jcl_org_job add ec_jobTitle int
GO
ALTER table jcl_org_map alter column fleader varchar(1000)
GO
INSERT into jcl_org_job(ec_company,ec_department,ec_jobTitle,delete_type,forbidden_tag) select DISTINCT subcompanyid1 ,departmentid ,jobtitle ,0,0 from HrmResource
GO
update jcl_field_extendinfo set delete_type = 1 where extend_type =3 and field_name in('sequence_id','scheme_id','level_id','grade_id')
GO
update jcl_field_extendgroup set delete_type = 1 where extend_type =3 and group_name ='ְ<EFBFBD><EFBFBD>'
GO
INSERT INTO jcl_field_extendinfo (extend_type, table_name, field_name, field_name_desc, field_type, control_type, extend_group_id, isenable, isrequired, list_show, search_show, edit_show, add_show, browser_show, show_order, creator, delete_type, create_time, update_time, browser_type, custom_value, is_system_default, ismodify, check_props, modify_props) VALUES(3, 'JCL_ORG_JOB', 'ec_jobTitle', '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'int', 3, 3, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, GETDATE(), NULL, '24', '["browser",{"valueSpan":"<22><>λ","replaceDatas":[{"itemorderid":"24","name":"<22><>λ","id":"24","parenttitle":"<22><><EFBFBD><EFBFBD>","title":"<22><><EFBFBD><EFBFBD>-<2D><>λ"}],"value":"24"}]', 0, 0, NULL, NULL)
GO
update jcl_field_extendinfo set delete_type = 1 where table_name ='JCL_ORG_JOB' and field_name ='job_name'
GO