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

import com.td.boss.common.service.*;
import com.td.boss.game.comrewards.pojo.ComRewards;
import com.td.boss.game.comrewards.vo.ComRewardsVo;

public interface ComRewardsService extends CommonService<ComRewardsVo, ComRewards, Integer> {

    /**
     * 根据userId 和 type寻找奖励
     * @param userId
     * @param type
     * @return
     */
    ComRewards findByUserIdAndType(String userId,Integer type);
}
