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.SaasParkPropertyBillArrearsDto;
import com.yuchen.saas.park.api.entity.property.SaasParkPropertyBillArrears;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyBillArrearsVo;
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 ISaasParkPropertyBillArrearsService extends IService<SaasParkPropertyBillArrears> {

    /**
     * 物业-收费-前台收费-收银台-欠费列表  列表查询
     * @param saasParkPropertyBillArrearsDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyBillArrearsVo>> getList(SaasParkPropertyBillArrearsDto saasParkPropertyBillArrearsDto, Query query);

    /**
     * 物业-收费-前台收费-收银台-欠费列表 新增或修改
     * @param saasParkPropertyBillArrearsDto
     * @return
     */
    boolean saveOrUpdateByParam(SaasParkPropertyBillArrearsDto saasParkPropertyBillArrearsDto);

    /**
     * 物业-收费-前台收费-收银台-欠费列表  催缴
     * @param id
     * @return
     */
    boolean call(Long id);

    /**
     * 物业-收费-前台收费-收银台-欠费列表 导出
     * @param reqDTO
     * @param response
     */
    void export(SaasParkPropertyBillArrearsDto reqDTO, HttpServletResponse response);
}
