package com.td.WaDa.game.complayerlog.repository;

import com.td.WaDa.common.repository.*;
import com.td.WaDa.game.complayerlog.pojo.ComPlayerLog;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface ComPlayerLogRepository extends CommonRepository<ComPlayerLog, Integer> {
    Optional<ComPlayerLog> findFirstByUserIdOrderByCreateTimeDesc(String userId);
}
