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

/**
 * <p>
 * 物业-收费-前台收费-预存冲抵 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-09-26
 */
public interface ISaasParkPropertyFeePreStoredService extends IService<SaasParkPropertyFeePreStored> {

    /**
     * 物业-收费-前台收费-预存冲抵 新增或修改
     * @param req
     * @return
     */
    Object saveOrUpdateByParam(SaasParkPropertyFeePreStoredDto req);

    /**
     * 物业-收费-前台收费-预存冲抵 列表查询
     * @param saasParkPropertyFeePreStoredDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyFeePreStoredVo>> getList(SaasParkPropertyFeePreStoredDto saasParkPropertyFeePreStoredDto, Query query);
}
