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.AwardStock;
import com.ssj.framework.core.common.service.BaseService;

public interface AwardStockService extends BaseService<AwardStock, String> {
	
	Page<Map<String, Object>> findAwardStockBylist(Map<String, Object> searchParams, Pageable pageable);
	
	public AwardStock getAwardStockByMaterialId(String merchantId,String awardMaterialId);
	
	public Integer getStockNumByMerchantIdAndLevelMaterialId(String merchantId, String levelMaterialId);
	
}
