yujian
2020-06-16 e7920b14a9baab97035a1a529da85d124a2bcacd
fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemClientParamsService.java
@@ -2,31 +2,13 @@
import java.util.List;
import org.springframework.cache.annotation.Cacheable;
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.BusinessSystem;
import com.yeshi.fanli.entity.system.SystemClientParams;
public interface SystemClientParamsService {
   
   public List<SystemClientParams> getSystemClientParamsBySystemId(long id);
   public List<SystemClientParamsAdmin> getAdminList(System system, String key);
   public void addSystemClientParamsList(SystemClientParams scp, List<System> 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);
   public List<SystemClientParams> getSystemClientParamsBySystemId(long id,int version);
   /**
    * 按照系统和关键字获取客户端参数
@@ -35,30 +17,41 @@
    * @param key
    * @return
    */
   public SystemClientParams getSystemClientParamsBySystemAndKey(System system, String key);
   public SystemClientParams getSystemClientParamsBySystemAndKey(BusinessSystem system, String key);
   public Integer getCount(int type);
   public List<CustomerName> customerNameList(int i, String key, int type);
   /**
    * 新版后台查询
    * @param start
    * @param count
    * @param key
    * @param systemId
    * @return
    */
   public List<SystemClientParams> listQuery(int start, int count, String key, Long systemId);
   public void deleteHelp(long id);
   public long countQuery(String key, Long systemId);
   public CustomerName getHelpCenter(int type);
   /**
    * 更新
    * @param systemClientParams
    */
   public void update(SystemClientParams systemClientParams);
   public Integer getProblemCount(long id);
   /**
    * 根据id获取
    * @param id
    * @return
    */
   public SystemClientParams selectByPrimaryKey(long id);
   public List<CustomerContent> getSecondProblemList(int i, String key, long id);
   /**
    * 根据id批量删除
    * @param ids
    */
   public void deleteBatchByPrimaryKey(List<Long> ids);
   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);
   public void saveAdd(SystemClientParams scp, List<Long> listId) throws Exception;
}