package com.jwipc.sys.mapper;

import com.jwipc.sys.entity.DigitalSealBusinessDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.sys.model.po.BusinessAttachmentPO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 电子印章业务明细表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-05-10
 */
public interface DigitalSealBusinessDetailMapper extends BaseMapper<DigitalSealBusinessDetail> {

    DigitalSealBusinessDetail getLastPurchaseOrderByBusinessCode(@Param("businessCode") String businessCode);
    BusinessAttachmentPO getLastPurchaseOrderAttachmentByBusinessCode(@Param("businessCode") String businessCode);
    DigitalSealBusinessDetail getLastDeliveryOrderByBusinessCode(@Param("businessCode") String businessCode);


}
