package com.hzya.frame.seeyon.invoice.dao;

import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.mdm.mdmModuleSource.entity.MdmModuleSourceEntity;
import com.hzya.frame.seeyon.invoice.entity.InvoiceEntity;

import java.util.HashMap;
import java.util.List;

public interface IInvoiceDao extends IBaseDao<InvoiceEntity,String> {

    /**
     *
     * @content 查询需要推送税务的数据
     * @Param
     * @Return
     * @Author hecan
     * @Date 2025-04-01 15:33
     * **/
    List<HashMap<String, Object>> queryInvoice(String str , MdmModuleSourceEntity entity);

    /**
     *
     * @content 查询申请单详情
     * @Param
     * @Return
     * @Author hecan
     * @Date 2025-04-07 14:05
     * **/
    List<InvoiceEntity> queryInvoiceResult(InvoiceEntity entity);

    /**
     *
     * @content 更新推送标识
     * @Param
     * @Return
     * @Author hecan
     * @Date 2025-04-15 15:37
     * **/
    Integer updateInvoicePush(InvoiceEntity entity);

    /**
     *
     * @content 更新pdf和ofd附件到OA
     * @Param
     * @Return
     * @Author hecan
     * @Date 2025-04-14 10:27
     * **/
    Integer updateInvoiceUrl(InvoiceEntity entity);

    /**
     *
     * @content 更新发票代码，发票号码以及开票结果
     * @Param
     * @Return
     * @Author hecan
     * @Date 2025-04-14 16:35
     * **/
    Integer updateInvoiceResult(InvoiceEntity entity);
    
    /**
     * 
     * @content 进项发票推送结果查询（查询发票批量录入结果）
     * @Param 
     * @Return 
     * @Author hecan 
     * @Date 2025-04-17 15:19
     * **/
    List<InvoiceEntity> queryInputInvoiceResult(InvoiceEntity entity);
}
