package com.YuyeTech.TPlat.repository;

import com.YuyeTech.TPlat.dataobject.UserInfo;
import com.YuyeTech.TPlat.dataobject.UserWallets;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;
import java.util.Optional;

/**
 * @author:slambb
 * @date:2021/8/5
 */
public interface UserWalletsRepository extends JpaRepository<UserWallets,Integer> {

    Optional<UserWallets> findByUserId(String userId);

}
