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);
|
|
}
|