@Service(value="roleModelBiz") @Transactional public class RoleModelBizImpl extends net.mingsoft.base.biz.impl.BaseBizImpl<IRoleModelDao,RoleModelEntity> implements IRoleModelBiz
| 构造器和说明 |
|---|
RoleModelBizImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteByModelIds(List<ModelEntity> models)
根据modelId删除关联roleId
|
void |
deleteByRoleId(int roleId)
根据角色id删除关联记录
|
void |
deleteByRoleIds(int[] ids)
根据角色id集合删除关联记录
|
net.mingsoft.base.dao.IBaseDao |
getDao()
获取角色模块持久化层
|
List<RoleModelEntity> |
queryByRoleId(int roleId)
通过角色获取所有关联的模块id
|
void |
saveEntity(List<RoleModelEntity> roleModelList)
保存该角色对应的模块集合
|
void |
updateEntity(List<RoleModelEntity> roleModelList)
更新该角色对应的模块集合
|
alterTable, countBySQL, countBySQL, createTable, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, execute, getEntity, getEntity, getEntity, getOne, insert, insertBySQL, query, queryAll, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryCount, queryForList, queryForList, queryForListPage, saveBatch, saveEntity, update, update, updateBySQL, updateCache, updateEntitycloseSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalterTable, countBySQL, countBySQL, createTable, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, execute, getEntity, getEntity, getEntity, insert, insertBySQL, query, queryAll, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryCount, queryForList, queryForList, queryForListPage, saveBatch, saveEntity, update, update, updateBySQL, updateCache, updateEntitycount, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, 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 net.mingsoft.base.dao.IBaseDao getDao()
getDao 在类中 net.mingsoft.base.biz.impl.BaseBizImpl<IRoleModelDao,RoleModelEntity>public void saveEntity(List<RoleModelEntity> roleModelList)
IRoleModelBizsaveEntity 在接口中 IRoleModelBizroleModelList - 集合public void updateEntity(List<RoleModelEntity> roleModelList)
IRoleModelBizupdateEntity 在接口中 IRoleModelBizroleModelList - 集合public List<RoleModelEntity> queryByRoleId(int roleId)
IRoleModelBizqueryByRoleId 在接口中 IRoleModelBizpublic void deleteByRoleId(int roleId)
IRoleModelBizdeleteByRoleId 在接口中 IRoleModelBizpublic void deleteByRoleIds(int[] ids)
IRoleModelBizdeleteByRoleIds 在接口中 IRoleModelBizpublic void deleteByModelIds(List<ModelEntity> models)
IRoleModelBizdeleteByModelIds 在接口中 IRoleModelBizmodels - id集合Copyright © 2025. All rights reserved.