package com.uas.platform.b2b.manage.dao;

import com.uas.platform.b2b.manage.model.InvitationRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 邀请注册记录
 *
 * @author hejq
 * @date 2018-07-27 18:21
 */
@Repository
public interface InvitationRecordDao extends JpaSpecificationExecutor<InvitationRecord>, JpaRepository<InvitationRecord, Long> {

    /**
     * 通过被邀请企业名称查询邀请记录
     *
     * @param vendName 被邀请企业名称
     * @return
     */
    List<InvitationRecord> findByVendname(String vendName);
}
