外卖项目day03-删除菜品-需求分析和功能实现---1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user