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)"); } /**