| | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Set; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | |
| | | @Select("select * from film_location where is_enabled = '1' and deleted = '0' order by location_weight desc limit 3") |
| | | List<FilmLocationVO> getFilmLocationListTop3(); |
| | | |
| | | |
| | | @Select("select id,city,pinyin,country,continent from film_location WHERE continent = #{continent} and deleted = '0' and city is not NULL GROUP BY city,pinyin") |
| | | List<FilmLocationVO> getFilmLocationLifo(String continent); |
| | | |
| | | |
| | | @Select("select * from film_location WHERE city = #{city} and deleted = '0'") |
| | | List<FilmLocationVO> getFilmLocationByCity(String city); |
| | | |
| | | |
| | | @Select("<script>" + |
| | | "SELECT * FROM film_location " + |
| | | "WHERE id IN " + |
| | | "<foreach item='id' collection='list' open='(' separator=',' close=')'>" + |
| | | "#{id}" + |
| | | "</foreach>" + |
| | | "</script>") |
| | | List<FilmLocationVO> findLocationIdByids(@Param("list") List<Long> ids); |
| | | } |