cloudroam
4 天以前 8b02c916fec8819f4f1b27b21a26cca6c41b5f5d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
 
/**
 * <p>
 * FilmHotCity热门城市 Mapper 接口
 * </p>
 *
 * @author generator@Fang
 */
public interface FilmHotCityMapper extends BaseMapper<FilmHotCity> {
 
    List<FilmHotCityVO> 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);
}