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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.property.SaasParkPropertyBillFeeReductionDto;
import com.yuchen.saas.park.api.entity.property.SaasParkPropertyBillFeeReduction;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyBillFeeReductionVo;
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-09-26
 */
public interface ISaasParkPropertyBillFeeReductionService extends IService<SaasParkPropertyBillFeeReduction> {

    /**
     * 物业-收费-前台收费-收银台-费用减免  列表查询
     * @param saasParkPropertyBillFeeReductionDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyBillFeeReductionVo>> getList(SaasParkPropertyBillFeeReductionDto saasParkPropertyBillFeeReductionDto, Query query);

    /**
     * 物业-收费-前台收费-收银台-费用减免 新增或修改
     * @param req
     * @return
     */
    boolean saveOrUpdateByParam(SaasParkPropertyBillFeeReductionDto req);

    /**
     * 物业-收费-前台收费-收银台-费用减免 导出
     * @param reqDTO
     * @param response
     */
    void export(SaasParkPropertyBillFeeReductionDto reqDTO, HttpServletResponse response);
}
