| | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param name 名称 |
| | | * @param name 名称 |
| | | * @param limit 记录表 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<AuthEntity> selectByPage(String name, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 根据菜单查询记录数 |
| | | * |
| | | * @param menuid |
| | | * @return |
| | | */ |
| | | public Integer selectCountForMenu(Integer menuid); |
| | | |
| | | /** |
| | | * 根据菜单分页查询 |
| | | * |
| | | * @param menuid |
| | | * @param limit |
| | | * @param offset |
| | | * @return |
| | | */ |
| | | public List<AuthEntity> selectByPageForMenu(Integer menuid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 插入一条 |
| | |
| | | * @return |
| | | */ |
| | | public List<AuthEntity> selectAuthAll(); |
| | | |
| | | } |