package com.jeesharp.business.modules.finance.invoice.service;

import com.jeesharp.business.modules.finance.invoice.dto.MemberInvoiceApplyCreateDTO;
import com.jeesharp.business.modules.finance.invoice.entity.MemberInvoiceApply;
import com.jeesharp.business.modules.finance.invoice.vo.MemberInvoiceApplyQueryVO;
import com.jeesharp.business.modules.finance.invoice.vo.MemberInvoiceApplyResultVO;
import com.jeesharp.framework.mybatis.core.service.BaseInterface;

/**
 * 发票申请领域服务接口。
 *
 * @author jeesharp
 * @since 2026-05-08
 */
public interface MemberInvoiceApplyService extends BaseInterface<MemberInvoiceApply, MemberInvoiceApplyQueryVO> {
    void createApply(MemberInvoiceApply entity);

    void updateApply(MemberInvoiceApply entity);
MemberInvoiceApplyResultVO createInvoiceApply(String memberId, MemberInvoiceApplyCreateDTO dto,
                                                    String tenantId, String tenantCode);

    MemberInvoiceApplyResultVO getApplyResult(String id);
}
