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.PmgBatParkCompanyPersonDto;
import com.yuchen.saas.park.api.entity.park.PmgBatParkCompanyPerson;
import com.yuchen.saas.park.api.vo.park.PmgBatParkCompanyPersonVo;
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 IPmgBatParkCompanyPersonService extends IService<PmgBatParkCompanyPerson> {

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

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

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