package com.bonus.canteen.core.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.menu.entity.MenuEvaluaPicture;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MenuEvaluaPictureMapper extends BaseMapper<MenuEvaluaPicture> {
   @Select({"select picture_url from menu_evalua_picture where evalua_id = #{evaluaId}"})
   List<String> selectPictureByEvaluaId(@Param("evaluaId") Long evaluaId);
}
