package com.td.boss.game.complayers.service;

import com.td.boss.common.service.*;
import com.td.boss.game.complayers.pojo.ComPlayers;
import com.td.boss.game.complayers.vo.ComPlayersVo;

public interface ComPlayersService extends CommonService<ComPlayersVo, ComPlayers, Integer> {

    /**
     * 根据用户id查询玩家角色
     * @param userId
     * @return
     */
    ComPlayers findByUserId(String userId);

    ComPlayers addComPlayers(ComPlayers comPlayers);


}
