luo
2023-12-09 cb5ddf074d60b72e35ee4bafaec95530f53d1839
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.dto.THouseResource;
import com.stylefeng.guns.modular.system.model.HouseResource;
import com.stylefeng.guns.modular.system.util.ResultUtil;
import com.stylefeng.guns.modular.system.warpper.req.AddHouseReq;
import com.stylefeng.guns.modular.system.warpper.req.HouseQuery;
import com.stylefeng.guns.modular.system.warpper.req.SearchHouseResourceReq;
import com.stylefeng.guns.modular.system.warpper.req.UserInfoQuery;
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);
 
 
    SearchHouseResourceRes listHouse(HouseQuery query);
 
    ResultUtil addHouse(AddHouseReq req);
 
    ResultUtil confirm(Integer userType);
 
    List<CollectListRes> collect(List<Integer> ids);
 
    ResultUtil editHouse(AddHouseReq req);
 
    List<THouseResource> list(String cellName, Integer dataType, Integer isManage, String name, String saleAmount, Integer status);
 
    List<THouseResource> aulist(Integer id,String cellName, Integer dataType, Integer isManage, String name, String saleAmount,String size);
    List<THouseResource> reprotList(Integer id,String cellName, Integer dataType, Integer isManage, String name, String saleAmount,String size);
 
}