package com.td.boss.game.comsnbfreeze.repository;

import com.td.boss.common.repository.*;
import com.td.boss.game.comsnbfreeze.pojo.ComSnbFreeze;
import com.td.boss.game.comsnbfreeze.vo.ComSnbFreezeVo;
import org.springframework.data.jpa.repository.Lock;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import javax.persistence.LockModeType;
import java.util.Optional;

@Repository
public interface ComSnbFreezeRepository extends CommonRepository<ComSnbFreeze, String> {
    Optional<ComSnbFreezeVo> findByUserId(String userId);
}
