-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: User Authorization 상태 값 오류 수정 (#254)
* fix: Explation img response AwsS3Util 제거 * hotfix: Reservation 등록 API ExperienceGift 파라미터 추가 * fix: User Entity @where 어노테이션 제거 * fix: 받은 선물 조회 탈퇴한 유저 조회 안되는 현상 수정 * fix: User 회원가입, 로그인 ACTIVE 유저만 조회하게 변경 * fix: User 회원가입, 로그인 ACTIVE 유저만 조회하게 변경 * fix: User 회원가입, 로그인 ACTIVE 유저만 조회하게 변경
- Loading branch information
Showing
7 changed files
with
45 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
src/main/java/com/shallwe/domain/shopowner/domain/repository/ShopOwnerRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
package com.shallwe.domain.shopowner.domain.repository; | ||
|
||
import com.shallwe.domain.common.Status; | ||
import com.shallwe.domain.shopowner.domain.ShopOwner; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
import org.springframework.data.jpa.repository.Query; | ||
|
||
import java.util.Optional; | ||
|
||
public interface ShopOwnerRepository extends JpaRepository<ShopOwner, Long> { | ||
|
||
boolean existsByPhoneNumber(String phoneNumber); | ||
boolean existsByPhoneNumberAndStatus(String phoneNumber, Status status); | ||
|
||
Optional<ShopOwner> findShopOwnerByPhoneNumber(String phoneNumber); | ||
Optional<ShopOwner> findShopOwnerByPhoneNumberAndStatus(String phoneNumber, Status status); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters