e9777dfc72670daefdcc591b6453b875789cc2c7.svn-base 1.3 KB
package com.espeed.yxy.service;

import java.util.List;

import com.espeed.centre.pojo.CentreYxyedmOldcustomer;
import com.espeed.yxy.pojo.YxyMailStencil;
import com.espeed.yxy.pojo.YxyMarketingPlan;
import com.espeed.yxy.pojo.YxySenderSet;
import com.espeed.yxy.pojo.YxyUserAddress;

/***
 * 
 * @author 谢勇
 * 计划service
 */
public interface YxyMarketingPlanService {

	/**是否有可执行的营销计划*/
	public List<YxyMarketingPlan> findHavePlan()throws Exception;
	
	/**根据地址分组查询地址*/
	public List<YxyUserAddress> findAddressByGroupid(int typeid,int plan_differen,String loginid,String domain,String other_name)throws Exception;
	
	/**查询模版*/
	public YxyMailStencil findStencilInfo(int stencilid)throws Exception;
	
	/**查询发件人*/
	public YxySenderSet findSender(String loginid,String domain)throws Exception;
	
	/**修改计划周期状态*/
	public void updateWeekStatus(int weekid,int status)throws Exception;
	
	/**修改计划状态*/
	public void updatePlanStatus(int planid,int status)throws Exception;
	
	/**code查询控制参数(有用户级返回用户级,否则返回默认参数)*/
	public String findCompanyParamByCode(String code,String loginid,String domain)throws Exception;
	
	/**获取EDM配置-盘活客户配置信息*/
	public CentreYxyedmOldcustomer getOldCusSet(String  domain)throws Exception;
}