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

import com.td.Dawa.common.repository.*;
import com.td.Dawa.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);
}
