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.SaasParkPropertyDirectReductionDto;
import com.yuchen.saas.park.api.entity.property.SaasParkPropertyDirectReduction;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyDirectReductionVo;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyFeeItemVo;
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 ISaasParkPropertyDirectReductionService extends IService<SaasParkPropertyDirectReduction> {

    /**
     * 物业-收费-应用管理-减免活动-直接减免  列表查询
     * @param saasParkPropertyDirectReductionDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyDirectReductionVo>> getList(SaasParkPropertyDirectReductionDto saasParkPropertyDirectReductionDto, Query query);

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