package com.yuchen.saas.park.service.service.property;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.property.PropertyOfflinePaymentRecordAuditDto;
import com.yuchen.saas.park.api.dto.property.PropertyOfflinePaymentRecordQueryDto;
import com.yuchen.saas.park.api.entity.property.PropertyOfflinePaymentRecord;
import com.yuchen.saas.park.api.vo.property.PropertyOfflinePaymentRecordDetailVo;
import com.yuchen.saas.park.api.vo.property.PropertyOfflinePaymentRecordPageVo;
import org.nest.springwrap.core.mp.support.NestPage;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 线下缴费记录(线下缴费审核) 服务类
 * </p>
 *
 * @author cxj
 * @since 2023-12-14
 */
public interface IPropertyOfflinePaymentRecordService extends IService<PropertyOfflinePaymentRecord> {

    NestPage<PropertyOfflinePaymentRecordPageVo> getPage(PropertyOfflinePaymentRecordQueryDto dto);

    Boolean audit(PropertyOfflinePaymentRecordAuditDto dto);

    void export(PropertyOfflinePaymentRecordQueryDto queryDTO, HttpServletResponse response);

    PropertyOfflinePaymentRecordDetailVo getDetailById(Long id);

    Boolean add(PropertyOfflinePaymentRecord dto);

    /**
     * 根据业务id删除审核单
     * @param businessId
     */
    void removeByBusinessId(long businessId);
}
