@Service(value="roleModelBiz") @Transactional public class RoleModelBizImpl extends net.mingsoft.base.biz.impl.BaseBizImpl implements IRoleModelBiz
| Constructor and Description |
|---|
RoleModelBizImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByRoleId(int roleId) |
net.mingsoft.base.dao.IBaseDao |
getDao()
获取角色模块持久化层
|
List<RoleModelEntity> |
queryByRoleId(int roleId)
通过角色获取所有关联的模块id
|
void |
saveEntity(List<RoleModelEntity> roleModelList)
保存该角色对应的模块集合
|
void |
updateEntity(List<RoleModelEntity> roleModelList)
更新该角色对应的模块集合
|
countBySQL, createTable, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, getEntity, getEntity, insertBySQL, query, queryAll, queryBySQL, queryBySQL, queryCount, saveBatch, saveEntity, updateBySQL, updateEntitypublic net.mingsoft.base.dao.IBaseDao getDao()
getDao in class net.mingsoft.base.biz.impl.BaseBizImplpublic void saveEntity(List<RoleModelEntity> roleModelList)
IRoleModelBizsaveEntity in interface IRoleModelBizroleModelList - 集合public void updateEntity(List<RoleModelEntity> roleModelList)
IRoleModelBizupdateEntity in interface IRoleModelBizroleModelList - 集合public List<RoleModelEntity> queryByRoleId(int roleId)
IRoleModelBizqueryByRoleId in interface IRoleModelBizpublic void deleteByRoleId(int roleId)
deleteByRoleId in interface IRoleModelBizCopyright © 2020. All rights reserved.