增加招聘全局配置等菜单项及相关常量,并隐藏部分菜单

This commit is contained in:
dxfeng 2025-02-11 14:49:04 +08:00
parent 119afdd47a
commit d273a44cff
2 changed files with 21 additions and 1 deletions

View File

@ -100,4 +100,16 @@ public class ModeSearchCodeConstant {
* 简历订阅 * 简历订阅
*/ */
public static final String RESUME_SUBSCRIPTION = "e672681f989f4ba18fdc02cb89049293"; 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";
} }

View File

@ -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/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.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(); CustomPageService customPageService = new CustomPageService();
@ -179,6 +184,9 @@ public class InitRecruitDataServiceImpl extends Service implements InitRecruitDa
new BaseBean().writeLog("招聘目录初始化SQL==" + sql); new BaseBean().writeLog("招聘目录初始化SQL==" + sql);
rs.executeUpdate(sql); rs.executeUpdate(sql);
} }
// 隐藏菜单
rs.executeUpdate("update LeftMenuConfig set VISIBLE = 0 where infoId in (100211,100222)");
} }
/** /**