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

* FilmHotCity热门城市 Mapper 接口 *

* * @author generator@Fang */ public interface FilmHotCityMapper extends BaseMapper { List queryPage(@Param("dto") FilmHotCityQueryDTO dto, Page page); @Select("select * from film_hot_city where name = #{name} and deleted = '0' limit 1 ") FilmHotCity selectByName(@Param("name") String name); @Select("select * from film_hot_city where id = #{id} ") FilmHotCityVO selectByIdInfo(Long id); }