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

import com.td.boss.common.repository.*;
import com.td.boss.game.complayerdog.pojo.ComPlayerDog;
import org.springframework.stereotype.Repository;
import org.springframework.util.StringUtils;

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

@Repository
public interface ComPlayerDogRepository extends CommonRepository<ComPlayerDog, String> {

    Optional<ComPlayerDog> findByUserIdAndOtherType(String userId,Integer OtherType);

    List<ComPlayerDog> findAllByUserId(String userId);
}
