From d273a44cff1d586ee0d18291b503e7ec683ce747 Mon Sep 17 00:00:00 2001 From: dxfeng Date: Tue, 11 Feb 2025 14:49:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8B=9B=E8=81=98=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E9=85=8D=E7=BD=AE=E7=AD=89=E8=8F=9C=E5=8D=95=E9=A1=B9?= =?UTF-8?q?=E5=8F=8A=E7=9B=B8=E5=85=B3=E5=B8=B8=E9=87=8F=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E9=83=A8=E5=88=86=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../recruit/constant/ModeSearchCodeConstant.java | 12 ++++++++++++ .../service/impl/InitRecruitDataServiceImpl.java | 10 +++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/com/engine/recruit/constant/ModeSearchCodeConstant.java b/src/com/engine/recruit/constant/ModeSearchCodeConstant.java index 23a3433..9701930 100644 --- a/src/com/engine/recruit/constant/ModeSearchCodeConstant.java +++ b/src/com/engine/recruit/constant/ModeSearchCodeConstant.java @@ -100,4 +100,16 @@ public class ModeSearchCodeConstant { * 简历订阅 */ public static final String RESUME_SUBSCRIPTION = "e672681f989f4ba18fdc02cb89049293"; + /** + * 招聘全局配置 + */ + public static final String RECRUITMENT_GLOBAL_CONFIGURATION = "3e1d3a17c55b47588c30cff577fb0201"; + /** + * 阶段提醒设置 + */ + public static final String STAGE_REMINDER_SETTINGS = "6698c3287d7a4436831103267950fe07"; + /** + * 我的面试评价 + */ + public static final String MY_INTERVIEW_EVALUATION = "af63a991265c4ce49b11f6dac50f148e"; } diff --git a/src/com/engine/recruit/service/impl/InitRecruitDataServiceImpl.java b/src/com/engine/recruit/service/impl/InitRecruitDataServiceImpl.java index fb2b1fa..1c3f731 100644 --- a/src/com/engine/recruit/service/impl/InitRecruitDataServiceImpl.java +++ b/src/com/engine/recruit/service/impl/InitRecruitDataServiceImpl.java @@ -139,7 +139,12 @@ public class InitRecruitDataServiceImpl extends Service implements InitRecruitDa menuSqlList.add("update LeftMenuInfo set fullrouteurl= '/spa/cube/index.html#/main/cube/tree?id=" + getCustomTreeId(ModeTreeCodeConstant.DATA_DICTIONARY_TREE) + "&noTitleShow=1' where id = " + 100204); // 简历订阅 menuSqlList.add("update LeftMenuInfo set fullrouteurl = '/spa/cube/index.html#/main/cube/search?customid=" + getCustomSearchId(ModeSearchCodeConstant.RESUME_SUBSCRIPTION) + "' where id = " + 100218); - + // 招聘全局配置 + menuSqlList.add("update LeftMenuInfo set fullrouteurl = '/spa/cube/index.html#/main/cube/search?customid=" + getCustomSearchId(ModeSearchCodeConstant.RECRUITMENT_GLOBAL_CONFIGURATION) + "' where id = " + 100222); + // 阶段提醒设置 + menuSqlList.add("update LeftMenuInfo set fullrouteurl = '/spa/cube/index.html#/main/cube/search?customid=" + getCustomSearchId(ModeSearchCodeConstant.STAGE_REMINDER_SETTINGS) + "' where id = " + 100223); + // 我的面试评价 + menuSqlList.add("update LeftMenuInfo set fullrouteurl = '/spa/cube/index.html#/main/cube/search?customid=" + getCustomSearchId(ModeSearchCodeConstant.MY_INTERVIEW_EVALUATION) + "' where id = " + 100221); // 处理自定义页面 CustomPageService customPageService = new CustomPageService(); @@ -179,6 +184,9 @@ public class InitRecruitDataServiceImpl extends Service implements InitRecruitDa new BaseBean().writeLog("招聘目录初始化SQL:==" + sql); rs.executeUpdate(sql); } + + // 隐藏菜单 + rs.executeUpdate("update LeftMenuConfig set VISIBLE = 0 where infoId in (100211,100222)"); } /**