YxyMarketingPlanService.java
1.7 KB
package com.espeed.service;
import java.util.List;
import java.util.Map;
import com.espeed.centre.pojo.YxyUserInfo;
import com.espeed.pojo.YxyMarketingPlan;
import com.espeed.pojo.YxyMarketingWeek;
import com.espeed.pojo.YxyUserAddress;
import com.espeed.vo.PageBean;
public interface YxyMarketingPlanService {
/**添加执行的营销计划前的发送量判断*/
public Map<String,String> beforeAddMarketingPlan(String loginid,String domain,int commitnum,Map<String,String> usergraph,String planweekmodel)throws Exception;
/**增加营销计划*/
public void addMarketingPlan(int user_id,YxyMarketingPlan plan,String weekmodelstr)throws Exception;
/**展示查询营销计划*/
public List<YxyMarketingWeek> findMarketingPlan(String loginid,String domain,PageBean pb)throws Exception;
/**列表查询营销计划*/
public List<YxyMarketingPlan> findMarketingPlanTable(String loginid,String domain,int condition,String conditionvalue,PageBean pb)throws Exception;
/**根据地址分组id查询地址量*/
public int findAddressNum(int typeid)throws Exception;
/**根据地址分组id查询地址*/
public List<YxyUserAddress> findAddressByTypeid(int typeid)throws Exception;
/**删除营销计划(当天的)*/
public void delMarketingPlanDay(int weekid)throws Exception;
/**删除营销计划(整个)*/
public void delMarketingPlan(int weekid)throws Exception;
/**判断CRM库发送量是否超标,0超标,1不超标*/
public Map<String,String> getMonthSendLimit(int user_id,int crmtype,int plangroupid,String planweekmodel)throws Exception;
/**查询营销计划信息*/
public YxyMarketingPlan getMarketingPlan(int plan_id)throws Exception;
/**撤销营销计划(整个)*/
public void editMarketingPlan(YxyUserInfo user,int plan_id)throws Exception;
}