批量删除套餐、菜品起售停售(TODO)
This commit is contained in:
@@ -8,6 +8,8 @@ import com.sky.enumeration.OperationType;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface SetmealMapper {
|
||||
|
||||
@@ -23,4 +25,9 @@ public interface SetmealMapper {
|
||||
|
||||
@AutoFill(OperationType.INSERT)
|
||||
void insert(Setmeal setmeal);
|
||||
|
||||
@Select("select * from setmeal where id = #{id}")
|
||||
Setmeal selectById(Long id);
|
||||
|
||||
void deleteBatch(List<Long> ids);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user