package com.jwipc.finance.logic;

import com.jwipc.finance.dto.PaymentNoticeDTO;
import com.jwipc.finance.dto.PaymentNoticeDetailImportDTO;
import com.jwipc.finance.dto.PaymentNoticeParamDTO;
import com.jwipc.finance.model.query.PaymentNoticeQuery;
import com.jwipc.page.PageView;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2025/10/22 15:29
 * @desc
 */
public interface PaymentNoticeLogic {
    PageView findByPage(PaymentNoticeQuery query);

    void saveOrUpdate(PaymentNoticeParamDTO param);
    void toImg(Long id);
    void deleteImg(Long id);

    void remove(Long id);

    void pushConfirm(Long id);

    PaymentNoticeDTO getById(Long id);

    List<PaymentNoticeDetailImportDTO> importData(MultipartFile file);

    void financeConfirm(PaymentNoticeParamDTO param);

    void revokeFinConfirmed(Long id, String revokeReason);
}
