mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
【v3.8.3】首页配置功能改造
This commit is contained in:
@ -56,7 +56,7 @@ public class SysRoleIndexServiceImpl extends ServiceImpl<SysRoleIndexMapper, Sys
|
|||||||
entity.setUrl(url);
|
entity.setUrl(url);
|
||||||
entity.setComponent(component);
|
entity.setComponent(component);
|
||||||
entity.setRoute(isRoute);
|
entity.setRoute(isRoute);
|
||||||
entity.setRelationType(CommonConstant.HOME_RELATION_ROLE);
|
entity.setRelationType(CommonConstant.HOME_RELATION_DEFAULT);
|
||||||
success = super.updateById(entity);
|
success = super.updateById(entity);
|
||||||
}
|
}
|
||||||
// 4. 清理缓存
|
// 4. 清理缓存
|
||||||
@ -84,7 +84,7 @@ public class SysRoleIndexServiceImpl extends ServiceImpl<SysRoleIndexMapper, Sys
|
|||||||
entity.setComponent(indexComponent);
|
entity.setComponent(indexComponent);
|
||||||
entity.setRoute(isRoute);
|
entity.setRoute(isRoute);
|
||||||
entity.setStatus(CommonConstant.STATUS_1);
|
entity.setStatus(CommonConstant.STATUS_1);
|
||||||
entity.setRelationType(CommonConstant.HOME_RELATION_ROLE);
|
entity.setRelationType(CommonConstant.HOME_RELATION_DEFAULT);
|
||||||
return entity;
|
return entity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user