Skip to content

Commit

Permalink
test: 브런치 최신화 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondanythings committed Jul 10, 2024
1 parent 62bb2c1 commit 45ce916
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package org.layer.domain.member.repository;

import jakarta.validation.constraints.NotNull;
import org.layer.domain.member.entity.Member;
import org.layer.domain.member.entity.SocialType;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface MemberRepository extends JpaRepository<Member, Long> {
Optional<Member> findBySocialIdAndSocialType(@NotNull String socialId, @NotNull SocialType socialType);
// SELECT * FROM MEMBER WHERE socialId = ? AND socialType = ?;
Optional<Member> findBySocialIdAndSocialType(String socialId, SocialType socialType);
}

0 comments on commit 45ce916

Please sign in to comment.