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

import com.td.boss.common.service.*;
import com.td.boss.game.comsnbfreeze.pojo.ComSnbFreeze;
import com.td.boss.game.comsnbfreeze.vo.ComSnbFreezeVo;
import org.springframework.data.jpa.repository.Lock;
import org.springframework.data.jpa.repository.Query;

import javax.persistence.LockModeType;

public interface ComSnbFreezeService extends CommonService<ComSnbFreezeVo, ComSnbFreeze, String> {
    /**
     * 获取游戏用户钱包数据
     * @param userId
     * @return
     */
    ComSnbFreezeVo findByUserId(String userId);

    ComSnbFreezeVo findById(String id);

    ComSnbFreeze AddByUserId(ComSnbFreeze comSnbFreeze);
}
