package com.yuchen.saas.park.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.park.PmgBatParkCompanyRentDto;
import com.yuchen.saas.park.api.entity.park.PmgBatParkCompanyRent;
import com.yuchen.saas.park.api.vo.park.PmgBatParkCompanyRentVo;
import org.nest.springwrap.core.mp.support.Query;
import org.nest.springwrap.core.tool.api.R;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 企业租客表 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-11-05
 */
public interface IPmgBatParkCompanyRentService extends IService<PmgBatParkCompanyRent> {

    /**
     * 人员中心+-企业租客-企业租客  导出
     * @param reqDTO
     * @param response
     */
    void export(PmgBatParkCompanyRentDto reqDTO, HttpServletResponse response);

    /**
     * 人员中心+-企业租客-企业租客  新增或修改
     * @param req
     * @return
     */
    boolean saveOrUpdateByParam(PmgBatParkCompanyRentDto req);

    /**
     * 人员中心+-企业租客-企业租客  列表查询
     * @param pmgBatParkCompanyRentDto
     * @param query
     * @return
     */
    R<IPage<PmgBatParkCompanyRentVo>> getList(PmgBatParkCompanyRentDto pmgBatParkCompanyRentDto, Query query);
}
