| | |
| | | package com.lf.server.mapper.sys; |
| | | |
| | | import com.lf.server.entity.data.DirEntity; |
| | | import com.lf.server.entity.sys.MenuEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * @param menuEntity |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer insertMenus(List<MenuEntity> menuEntity); |
| | | public Integer insertMenus(List<MenuEntity> list); |
| | | /** |
| | | * 删除一条 |
| | | * @param id |
| | |
| | | public MenuEntity selectMenu(int id); |
| | | |
| | | /** |
| | | * 查询全部数据 |
| | | * 查询所有 |
| | | * @return |
| | | */ |
| | | public List<MenuEntity> selectMenuAll(); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * @param menuEntity |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updateMenus(List<MenuEntity> menuEntity); |
| | | public Integer updateMenus(List<MenuEntity> list); |
| | | |
| | | /** |
| | | * 递归查询 |
| | | * @param name |
| | | * @return |
| | | */ |
| | | public List<DirEntity> selectMenuRecursive(String name); |
| | | public List<MenuEntity> selectMenuRecursive(String name); |
| | | } |