package com.ssj.service.sys.award.service;

import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.ssj.bean.sys.award.domain.AwardMaterial;
import com.ssj.bean.sys.award.domain.AwardSncode;
import com.ssj.framework.core.common.service.BaseService;

public interface AwardSncodeService extends BaseService<AwardSncode, String> {
	
	Page<Map<String, Object>> findAwardSncodeBylist(Map<String, Object> searchParams, Pageable pageable);
	
	//通过活动，生成sn_code列表
	public void createAwardSncodeByCode(AwardMaterial awardMaterial,Integer num);

	//我的奖品列表
	Page<Map<String, Object>> findAwardSncodeByVipList(Map<String, Object> searchParams, Pageable pageable);
	
	//更新兑换码的图片
	public void updateSnCodeImgBySnCode(String snCode,String snCodeImg);
	

}
