| | |
| | | public List<AuthEntity> selectByPage(String name, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 添加数据 |
| | | * 插入一条 |
| | | * |
| | | * @param authEntity |
| | | * @return |
| | |
| | | public Integer insertAuth(AuthEntity authEntity); |
| | | |
| | | /** |
| | | * 批量添加 |
| | | * 插入多条 |
| | | * |
| | | * @param authEntity |
| | | * @return |
| | |
| | | public Integer insertAuths(List<AuthEntity> authEntity); |
| | | |
| | | /** |
| | | * 刪除数据 |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | |
| | | public Integer deleteAuth(int id); |
| | | |
| | | /** |
| | | * 批量删除 |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | |
| | | public Integer deleteAuths(List<Integer> ids); |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * 更新一条 |
| | | * |
| | | * @param authEntity |
| | | * @return |