package com.mzl.flower.mapper.film; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.mzl.flower.dto.request.film.FilmLocationQueryDTO; import com.mzl.flower.dto.response.film.FilmLocationVO; import com.mzl.flower.entity.film.FilmLocation; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import java.util.List; /** *

* 影视拍摄场地信息表 Mapper 接口 *

* * @author generator@Fang * @since 2025-05-20 */ public interface FilmLocationMapper extends BaseMapper { List queryPage(@Param("dto") FilmLocationQueryDTO dto, Page page); @Select("select * from film_location where id = #{id} ") FilmLocationVO selectByIdInfo(Long id); @Select("select * from film_location where location_name = #{locationName} and deleted = '0' limit 1") FilmLocation selectByLocationName(@Param("locationName") String locationName ); }