80952533553f32dc215e161afd22b757553f7724.svn-base 3.0 KB
package com.espeed.service;

import java.util.List;

import com.espeed.centre.pojo.YxyUserInfo;
import com.espeed.vo.PageBean;
import com.espeed.webmail.pojo.CrmCustomerIndustries;
import com.espeed.webmail.pojo.CrmProcess;
import com.espeed.webmail.pojo.CrmProduct;
import com.espeed.webmail.pojo.CrmSourcefrom;
import com.espeed.webmail.pojo.CrmStatus;
import com.espeed.webmail.pojo.YxyCustomerEmail;
import com.espeed.webmail.pojo.YxyCustomerType;
 
/***
 * 
 * @author 谢勇
 * 客户业务service接口
 */
public interface YxyCustomerService {
	/**获取所有客户分类*/
	public List<YxyCustomerType> findClassifyAll(YxyUserInfo user,int iscounts)throws Exception;
	/**获取客户分类下的客户集合*/
	public List<YxyCustomerEmail> findCustomersByClassify(int user_id,int classify_id)throws Exception;
	/**获取所有客户状态*/
	public List<CrmStatus> findStatusAll(YxyUserInfo user,int iscounts)throws Exception;
	/**获取客户状态下的客户集合*/
	public List<YxyCustomerEmail> findCustomersByStatus(int user_id,int status_id)throws Exception;
	/**获取所有客户来源*/ 
	public List<CrmSourcefrom> findFromAll(YxyUserInfo user,int iscounts)throws Exception;
	/**获取客户来源下的客户集合*/
	public List<YxyCustomerEmail> findCustomersByFrom(int user_id,int from_id)throws Exception;
	/**获取所有意向产品*/ 
	public List<CrmProduct> findProductAll(YxyUserInfo user,int iscounts)throws Exception;
	/**获取意向产品下的客户集合*/
	public List<YxyCustomerEmail> findCustomersByProduct(int user_id,int product_id)throws Exception;
	/**获取所有销售进程*/ 
	public List<CrmProcess> findProcessAll(YxyUserInfo user)throws Exception;
	/**获取销售进程下的客户集合*/
	public List<YxyCustomerEmail> findCustomersByProcess(int user_id,int porcess_id)throws Exception;
	/**获取公海条件下的客户集合*/
	public List<YxyCustomerEmail> findCustomersByPublic(int company_id,int user_id,int public_id)throws Exception;
	/**企业下所有客户信息*/
	public List<Object> findCusEmailList(int company_id)throws Exception;
	/**根据客户id查询客户信息*/
	public List<YxyCustomerEmail> findEmailByCusid(String customer_ids)throws Exception;
	/**获取所有采购偏好*/
	public List<CrmCustomerIndustries> findIndustriesAll(int user_id,int condition,String conditionValue,PageBean pb)throws Exception;
	/**个性营销邮查询客户数*/
	public int findCustomerByPersonSaleCounts(int company_id,int user_id,String highSearchValue) throws Exception;
	/**个性营销邮查询客户列表*/
	public List<YxyCustomerEmail> findCustomerByPersonSaleList(int company_id,int user_id,String highSearchValue) throws Exception;
	/**获取采购偏好下的客户集合*/
	public List<YxyCustomerEmail> findCustomersByIndustries(int user_id,String caigou)throws Exception;
	/**获取私海客户数量*/
	public int getMyCustomerCounts(int user_id)throws Exception;
	/**获取公海客户数量*/
	public int getPubilcCustomerCounts(int company_id)throws Exception;
}