package com.jwipc.sys.service;

import com.jwipc.sys.entity.DigitalSealBusinessDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.sys.model.po.BusinessAttachmentPO;

/**
 * <p>
 * 电子印章业务明细表 服务类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-05-10
 */
public interface IDigitalSealBusinessDetailService extends IService<DigitalSealBusinessDetail> {

    /**
     * 获取采购订单最新的签署附件
     * @param businessCode 采购订单号
     * @return 签署附件
     */
    DigitalSealBusinessDetail getLastPurchaseOrderByBusinessCode(String businessCode);
    BusinessAttachmentPO getLastPurchaseOrderAttachmentByBusinessCode(String businessCode);
    DigitalSealBusinessDetail getLastDeliveryOrderByBusinessCode(String businessCode);
}
