mirror of https://github.com/jeecgboot/jeecg-boot
【v3.8.3】首页配置功能改造
parent
d728d6b090
commit
700318e1c1
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue