package fcb.project.manager.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import fcb.project.manager.base.entity.ContextTokenBean;
import fcb.project.manager.base.entity.TmEstate;
import fcb.project.manager.base.entity.TmUsedEstate;
import fcb.project.manager.base.param.usedEstate.QueryUsedEstate;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * <p>
 * 二手楼盘信息
 * </p>
 *
 * @author by su
 * @since 2021-08-25
 */
public interface ITmUsedEstateService extends IService<TmUsedEstate> {

    public Map<String, Object> addProject(TmUsedEstate tmEstate, ContextTokenBean tokenMap);

    IPage<TmUsedEstate> listProject(QueryUsedEstate queryUsedEstate, ContextTokenBean contextUserInfo, String token);

    public int online( TmUsedEstate tmUsedEstate);
}
