package com.yeshi.fanli.service.inter.config; import java.util.List; import com.yeshi.fanli.entity.admin.SystemClientParamsAdmin; import com.yeshi.fanli.entity.system.CustomerContent; import com.yeshi.fanli.entity.system.CustomerName; import com.yeshi.fanli.entity.system.System; import com.yeshi.fanli.entity.system.SystemClientParams; public interface SystemClientParamsService { public List getSystemClientParamsBySystemId(long id); public List getAdminList(System system, String key); public void addSystemClientParamsList(SystemClientParams scp, List list) throws Exception; public void deleteSystemClientParams(SystemClientParams scp, System system); public void addSystemClientParams(SystemClientParams scp, System system); public void deleteSystemClientParams(SystemClientParams scp); public SystemClientParamsAdmin getSystemClientParamsAdmin(SystemClientParams scp); public void update(SystemClientParams oscp, SystemClientParams nscp); /** * 按照系统和关键字获取客户端参数 * * @param system * @param key * @return */ public SystemClientParams getSystemClientParamsBySystemAndKey(System system, String key); public Integer getCount(int type); public List customerNameList(int i, String key, int type); public void deleteHelp(long id); public CustomerName getHelpCenter(int type); public Integer getProblemCount(long id); public List getSecondProblemList(int i, String key, long id); public void deleteSecondProblem(long id); public CustomerContent getCustomerContent(long id); public void updateAnswerDetail(CustomerContent customerContent); public void addFirstMenu(CustomerName customerName, int type); public void addSecondMenu(CustomerContent customerContent, long cnId); public List contactCustomerService(String title); /** * 新版后台查询 * @param start * @param count * @param key * @param systemId * @return */ public List listQuery(int start, int count, String key, Long systemId); public long countQuery(String key, Long systemId); /** * 更新 * @param systemClientParams */ public void update(SystemClientParams systemClientParams); /** * 根据id获取 * @param id * @return */ public List getById(long id); /** * 根据id批量删除 * @param ids */ public void deleteBatchByPrimaryKey(List ids); public void saveAdd(SystemClientParams scp, List listId) throws Exception; }