文件名从 src/main/java/com/lf/server/mapper/sys/MenusMapper.java 修改 |
| | |
| | | package com.lf.server.mapper.sys; |
| | | |
| | | import com.lf.server.entity.data.DirEntity; |
| | | import com.lf.server.entity.sys.MenusEntity; |
| | | import com.lf.server.entity.sys.MenuEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | public interface MenusMapper { |
| | | public interface MenuMapper { |
| | | /** |
| | | * 娣诲姞鏁版嵁 |
| | | * @param menusEntity |
| | | * @param menuEntity |
| | | * @return |
| | | */ |
| | | public Integer insertMenu(MenusEntity menusEntity); |
| | | public Integer insertMenu(MenuEntity menuEntity); |
| | | |
| | | /** |
| | | * 鎵归噺娣诲姞 |
| | | * @param menusEntity |
| | | * @param menuEntity |
| | | * @return |
| | | */ |
| | | public Integer insertMenus(List<MenusEntity> menusEntity); |
| | | public Integer insertMenus(List<MenuEntity> menuEntity); |
| | | /** |
| | | * 鍒櫎鏁版嵁 |
| | | * @param id |
| | |
| | | |
| | | /** |
| | | * 淇敼鏁版嵁 |
| | | * @param menusEntity |
| | | * @param menuEntity |
| | | * @return |
| | | */ |
| | | public Integer updateMenu(MenusEntity menusEntity); |
| | | public Integer updateMenu(MenuEntity menuEntity); |
| | | |
| | | /** |
| | | * 鏌ヨ鍗曟潯鏁版嵁 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public MenusEntity selectMenu(int id); |
| | | public MenuEntity selectMenu(int id); |
| | | |
| | | /** |
| | | * 鏌ヨ鍏ㄩ儴鏁版嵁 |
| | | * @return |
| | | */ |
| | | public List<MenusEntity> selectMenuAll(); |
| | | public List<MenuEntity> selectMenuAll(); |
| | | |
| | | /** |
| | | * 鎵归噺淇敼 |
| | | * @param menusEntity |
| | | * @param menuEntity |
| | | * @return |
| | | */ |
| | | public Integer updateMenus(List<MenusEntity> menusEntity); |
| | | public Integer updateMenus(List<MenuEntity> menuEntity); |
| | | |
| | | /** |
| | | * 閫掑綊鏌ヨ |