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.SaasParkPropertyBillOverdueBillDto;
import com.yuchen.saas.park.api.entity.property.SaasParkPropertyBillOverdueBill;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyBillOverdueBillVo;
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 ISaasParkPropertyBillOverdueBillService extends IService<SaasParkPropertyBillOverdueBill> {

    /**
     * 物业-收费-前台收费-逾期账单  列表查询
     * @param saasParkPropertyBillOverdueBilDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyBillOverdueBillVo>> getList(SaasParkPropertyBillOverdueBillDto saasParkPropertyBillOverdueBilDto, Query query);

    /**
     * 物业-收费-前台收费-逾期账单 新增或修改
     * @param req
     * @return
     */
    boolean saveOrUpdateByParam(SaasParkPropertyBillOverdueBillDto req);

    /**
     * 物业-收费-前台收费-逾期账单  催缴
     * @param id
     * @return
     */
    Boolean call(Long id);
}
