package com.yeshi.fanli.service.inter.config;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.admin.SystemClientParamsAdmin;
|
import com.yeshi.fanli.entity.system.BusinessSystem;
|
import com.yeshi.fanli.entity.system.CustomerContent;
|
import com.yeshi.fanli.entity.system.CustomerName;
|
import com.yeshi.fanli.entity.system.SystemClientParams;
|
|
public interface SystemClientParamsService {
|
|
public List<SystemClientParams> getSystemClientParamsBySystemId(long id);
|
|
public List<SystemClientParams> getSystemClientParamsBySystemId(long id,int version);
|
|
public List<SystemClientParamsAdmin> getAdminList(BusinessSystem system, String key);
|
|
public void addSystemClientParamsList(SystemClientParams scp, List<BusinessSystem> list) throws Exception;
|
|
public void deleteSystemClientParams(SystemClientParams scp, BusinessSystem system);
|
|
public void addSystemClientParams(SystemClientParams scp, BusinessSystem 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(BusinessSystem system, String key);
|
|
public Integer getCount(int type);
|
|
public List<CustomerName> customerNameList(int i, String key, int type);
|
|
public void deleteHelp(long id);
|
|
public CustomerName getHelpCenter(int type);
|
|
public Integer getProblemCount(long id);
|
|
public List<CustomerContent> 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<CustomerContent> contactCustomerService(String title);
|
|
/**
|
* 新版后台查询
|
* @param start
|
* @param count
|
* @param key
|
* @param systemId
|
* @return
|
*/
|
public List<SystemClientParams> 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<SystemClientParams> getById(long id);
|
|
/**
|
* 根据id批量删除
|
* @param ids
|
*/
|
public void deleteBatchByPrimaryKey(List<Long> ids);
|
|
public void saveAdd(SystemClientParams scp, List<Long> listId) throws Exception;
|
|
}
|