yujian
2019-03-14 4aadf484e193995c23ee1d5bb1971a497d2f9a0d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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;
 
}