package com.yn.bftl.thirdparty.modules.contract.repository;

import com.yn.bftl.common.modules.company.entity.ServiceAccountAuth;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 服务账户认证Repository
 *
 * @author huabiao
 * @create 2023/12/25  11:16
 **/
@Repository
public interface ServiceAccountAuthRepository extends JpaRepository<ServiceAccountAuth, Long> {

    /**
     * 服务账户认证-根据邀请ID查询
     *
     * @param inviteId 邀请ID
     * @return 服务账户认证
     * @author huabiao
     * @create 2023/12/25  11:18
     */
    ServiceAccountAuth findFirstByInviteId(String inviteId);
}