puzhibing
2023-11-28 7b726d5ff439e7b8bb66369ecc5881e370286bc8
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.HouseResource;
import com.stylefeng.guns.modular.system.warpper.req.SearchHouseResourceReq;
import com.stylefeng.guns.modular.system.warpper.res.*;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @Date 2023/11/8 15:09
 */
public interface IHouseResourceService extends IService<HouseResource> {
 
 
    /**
     * 获取房源列表
     * @param req
     * @return
     */
    SearchHouseResourceRes searchHouseResource(SearchHouseResourceReq req);
 
 
    /**
     * 获取区域房源数量
     * @return
     */
    List<DistrictHouseResourceNumberRes> getDistrictHouseResourceNumber(Integer userType, Integer dataType);
 
 
    /**
     * 获取房源详情
     * @param id
     * @return
     */
    HouseResourceInfoRes getHouseResourceInfo(Integer id);
 
 
    /**
     * 获取附近房源
     * @param id
     * @return
     */
    List<SearchHouseResourceListRes> getNearbyHouseResource(Integer id);
 
 
    /**
     * 获取联系方式
     * @param id
     * @return
     */
    ContactInformationRes getContactInformation(Integer id);
 
 
 
 
}