This commit is contained in:
Mohd-Arham
2025-12-03 11:47:10 +05:30
parent 5f09755d2c
commit 164c27e689
5 changed files with 49 additions and 15 deletions
@@ -9,5 +9,8 @@ import com.billpaymentservice.bbps.entites.UserEntity;
@Repository
public interface UserRepository extends JpaRepository<UserEntity, Long> {
Optional<UserEntity> findByMobile(String mobile);
Optional<UserEntity> findByMobile(String mobile);
// check user id exists
boolean existsByUserId(String userId);
}