@Service public class SysMenuResourceServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysMenuResourceMapper,SysMenuResource> implements SysMenuResourceService
| 构造器和说明 |
|---|
SysMenuResourceServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addMenuResourceBind(SysMenuResourceRequest sysMenuResourceRequest)
添加菜单和资源的绑定
|
List<ResourceTreeNode> |
getMenuResourceTree(Long businessId)
获取菜单或菜单按钮绑定资源的树
|
void |
updateNewAppCode(Boolean decisionFirstStart,
String newAppCode)
更新本表的所有资源编码,改为新的应用code前缀
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdpublic List<ResourceTreeNode> getMenuResourceTree(Long businessId)
SysMenuResourceServicegetMenuResourceTree 在接口中 SysMenuResourceServicebusinessId - 业务id,菜单或按钮id@Transactional(rollbackFor=java.lang.Exception.class) public void addMenuResourceBind(SysMenuResourceRequest sysMenuResourceRequest)
SysMenuResourceServiceaddMenuResourceBind 在接口中 SysMenuResourceServicepublic void updateNewAppCode(Boolean decisionFirstStart, String newAppCode)
SysMenuResourceServiceupdateNewAppCode 在接口中 SysMenuResourceServicedecisionFirstStart - 判断是否是第一次启动,参数传true,则判断必须是第一次启动才执行update操作newAppCode - 新应用编码Copyright © 2023. All rights reserved.