| | |
| | | public Integer insertDir(DirEntity dirEntity); |
| | | |
| | | /** |
| | | * 批量添加 |
| | | * 插入多条 |
| | | * @param dirEntity |
| | | * @return |
| | | */ |
| | |
| | | public Integer deleteDir(int id); |
| | | |
| | | /** |
| | | * 批量删除 |
| | | * 删除多条 |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deleteDirs(List<Integer> ids); |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * 更新一条 |
| | | * @param dirEntity |
| | | * @return |
| | | */ |
| | | public Integer updateDir(DirEntity dirEntity); |
| | | |
| | | /** |
| | | * 批量修改数据 |
| | | * 批量更新一条 |
| | | * @param dirEntity |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 递归查询 |
| | | * @param name |
| | | * @return |
| | | */ |
| | | public List<DirEntity> selectDirRecursive(); |
| | | public List<DirEntity> selectDirRecursive(String name); |
| | | } |