根据id查询套餐、菜品起售停售(TODO)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package com.sky.mapper;
|
||||
|
||||
import com.sky.entity.Dish;
|
||||
import com.sky.entity.SetmealDish;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -17,4 +19,7 @@ public interface SetmealDishMapper {
|
||||
void insertBatch(List<SetmealDish> setmealDishes);
|
||||
|
||||
void deleteBySetmealIds(List<Long> setmealIds);
|
||||
|
||||
@Select("select * from setmeal_dish where setmeal_id = #{setmealId}")
|
||||
List<SetmealDish> selectBySetmealId(Long setmealId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user