package com.yn.bftl.thirdparty.common.repository;

import com.yn.bftl.common.modules.customer.entity.RealName;
import com.yn.bftl.common.modules.order.entity.Order;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 订单Repository
 *
 * @author chendehuihuo
 * @date 2021/12/08 11:01
 **/
@Repository
public interface RealNameRepository extends JpaRepository<RealName, Long> {

    RealName findFirstByCustomerId(Long customerId);

}
