外卖项目day03-删除菜品-需求分析和功能实现---1

This commit is contained in:
xx
2026-11-21 12:04:11 +08:00
parent f871774096
commit 7b995714cc
6 changed files with 85 additions and 0 deletions
@@ -34,4 +34,12 @@ public interface DishMapper {
* @return
*/
Page<DishVO> pageQuery(DishPageQueryDTO dto);
/**
* 根据id查询菜品
* @param id
* @return
*/
@Select("select * from dish where id = #{id}")
Dish getDishById(Long id);
}