package com.ssj.service.weixin.adminsale.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

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

import com.ssj.bean.weixin.user.domain.User;


public interface AdminSaleService {
	
	 Page<Map<String, Object>> findVipBySaleAndLibIdPage(Map<String, Object> searchParams, Pageable pageable);

	
	 List<Map<String, Object>> findLibOrderDetailsByVipId(String vipId);
	
	
	 BigDecimal findSaleCommission(Integer num,String priceSpecies, String priceType,Integer type);
	 
	 
	 String saleQrcode(User user);
	
	 
	 List<Map<String, Object>> findBirthdayBySale(String saleUserId);
	 
	 
	 List<Map<String, Object>> findServiceEndBySale(String saleUserId);
	 
	
	 List<Map<String, Object>> findLibOrderDetailsServiceBySale(String saleUserId);
	

	 List<Map<String, Object>> findSilentUserBySale(String saleUserId);
	 

	 List<Map<String, Object>> findMonthDetailBySale(String saleUserId);
	 

	 List<Map<String, Object>>  findCountOrderBySale(String saleUserId);
	 

	 Page<Map<String, Object>> findOrderRankByLibId(Map<String, Object> searchParams, Pageable pageable);
			
		
	 List<Map<String, Object>>  findExperienceBySale(String saleUserId);
	 
	 
	 List<Map<String, Object>>  findServiceByVipId(String vipId);
	 
	 
	 List<Map<String, Object>> findSaleByUserId(String saleUserId);


	 Map<String, Object> findCountOrderByLib(String libId);


	List<Map<String, Object>> findCdLibList(String userId, String searchContent);


	Map<String, Object> findCdComeIn(String userId);


	Map<String, Object> findOrderById(String detailId);
	
	
}
