【v3.8.3】首页配置功能改造

This commit is contained in:
JEECG
2025-09-14 10:43:21 +08:00
parent d728d6b090
commit 700318e1c1

View File

@ -56,7 +56,7 @@ public class SysRoleIndexServiceImpl extends ServiceImpl<SysRoleIndexMapper, Sys
entity.setUrl(url);
entity.setComponent(component);
entity.setRoute(isRoute);
entity.setRelationType(CommonConstant.HOME_RELATION_ROLE);
entity.setRelationType(CommonConstant.HOME_RELATION_DEFAULT);
success = super.updateById(entity);
}
// 4. 清理缓存
@ -84,7 +84,7 @@ public class SysRoleIndexServiceImpl extends ServiceImpl<SysRoleIndexMapper, Sys
entity.setComponent(indexComponent);
entity.setRoute(isRoute);
entity.setStatus(CommonConstant.STATUS_1);
entity.setRelationType(CommonConstant.HOME_RELATION_ROLE);
entity.setRelationType(CommonConstant.HOME_RELATION_DEFAULT);
return entity;
}