package com.iamberry.wechat.face.agentInfo; import com.iamberry.wechat.core.entity.agentInfo.AgentConfig; import com.iamberry.wechat.core.entity.agentInfo.AgentTooth; import java.util.List; /** * Created by Administrator on 2017/10/11. */ public interface AgentInfoService { /** * 查询代理商配置金额集合 * @param config * @return */ List listAgentConfig(AgentConfig config); /** * 查询代理商配置金额数量 * @param config * @return */ Integer listAgentConfigCount(AgentConfig config); /** * 查询代理商集合 * @param agentTooth * @return */ List listAgentTooth(AgentTooth agentTooth); /** * 批量新增代理商配置信息 * @param list * @return */ Integer addAgentConfigList(List list); /** * 修改代理商优惠价配置信息 * @param config * @return */ Integer updateAgentConfig(AgentConfig config); /** * 查询代理商 * @param agentTooth * @return */ AgentTooth getAgentTooth(AgentTooth agentTooth); /** * 查询代理商配置 * @param config * @return */ AgentConfig getAgentConfig(AgentConfig config); /** * 修改代理商信息 * @param agentTooth * @return */ Integer updateAgentTooth(AgentTooth agentTooth); /** * 激活代理商 * @param agentTooth * @return */ Integer updateAgentOpenId(AgentTooth agentTooth); /** * 查询所有代理商 * @param agentTooth * @return */ List selectAllAgentinfo(AgentTooth agentTooth); /** * 查询所有代理商条数 * @param agentTooth * @return */ Integer selectAllAgentinfoCount(AgentTooth agentTooth); /** * 新增代理商 */ Integer addAgentinfo(AgentTooth agentTooth); }