rk
2025-12-11 3a19b72d3a187e6b88b0d1935fab3b8d44bd0120
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
30
31
package com.doumee.dao.business;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.doumee.dao.business.model.HotCity;
import com.doumee.dao.web.response.HotCityResponse;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
 
/**
 * @author 江蹄蹄
 * @date 2023/03/21 15:48
 */
public interface HotCityMapper extends BaseMapper<HotCity> {
 
 
 
 
    /****************************************移动端方法开始********************************************************************/
 
    /**
     * 获取常用城市列表
     * @return
     */
    @Select("  select h.id , h.city_id as cityId , a.name as cityName  from hot_city h left join  areas a on h.city_id =  a.id  " +
            " order by h.SORTNUM desc   ")
    List<HotCityResponse> getHotCityResponse();
 
 
 
}