package com.jeesharp.business.modules.food.mapper;

import com.jeesharp.business.modules.food.entity.FoodRestaurant;
import com.jeesharp.business.modules.food.vo.FoodRestaurantQueryVO;
import com.jeesharp.framework.mybatis.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 美食门店 Mapper。
 *
 * @author jeesharp
 * @since 2026-06-04
 */
@Mapper
public interface FoodRestaurantMapper extends BaseMapper<FoodRestaurant, FoodRestaurantQueryVO> {

    /**
     * 按主键批量查询（展示补全用，走 XML 避免租户插件过滤 NULL 租户主数据）。
     */
    List<FoodRestaurant> selectByIds(@Param("ids") List<String> ids);
}
