package com.td.Dawa.game.complayerbackpack.service;

import com.td.Dawa.common.pojo.PageInfo;
import com.td.Dawa.common.service.*;
import com.td.Dawa.game.complayerbackpack.pojo.ComPlayerBackpack;
import com.td.Dawa.game.complayerbackpack.vo.ComPlayerBackpackClientVo;
import com.td.Dawa.game.complayerbackpack.vo.ComPlayerBackpackSimpleVo;
import com.td.Dawa.game.complayerbackpack.vo.ComPlayerBackpackVo;
import com.td.Dawa.game.excelprop.vo.ExcelPropClientVo;

import java.util.List;

public interface ComPlayerBackpackService extends CommonService<ComPlayerBackpackVo, ComPlayerBackpack, String> {

    ComPlayerBackpack  findByUserIdAndItemId(String userId,Integer itemId);

    List<ComPlayerBackpack> saveAllByUserIdAndProps(String userId, List<ExcelPropClientVo> propClientVoList);

    ComPlayerBackpack saveByUserIdAndProp(String userId, ExcelPropClientVo vo);

    PageInfo getPageAndProp(ComPlayerBackpackVo comPlayerBackpackVo);
}
