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.SaasParkPropertyPayReductionDto;
import com.yuchen.saas.park.api.entity.property.SaasParkPropertyPayReduction;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyPayReductionVo;
import org.nest.springwrap.core.mp.support.Query;
import org.nest.springwrap.core.tool.api.R;

/**
 * <p>
 * 物业-收费-应用管理-减免活动-缴费减免 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-09-18
 */
public interface ISaasParkPropertyPayReductionService extends IService<SaasParkPropertyPayReduction> {

    /**
     * 物业-收费-应用管理-减免活动-缴费减免  列表查询
     * @param saasParkPropertyPayReductionDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyPayReductionVo>> getList(SaasParkPropertyPayReductionDto saasParkPropertyPayReductionDto, Query query);

    /**
     * 物业-收费-应用管理-减免活动-缴费减免 新增或修改
     * @param req
     * @return
     */
    Object saveOrUpdateByParam(SaasParkPropertyPayReductionDto req);
}
