03-12-25
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user