zhaozhengjie
2022-09-23 4caee77833d46a483a32ea664ae7f4c4d7bc1096
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
98
99
100
101
102
103
104
105
106
package com.dg.core.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dg.core.db.gen.entity.TransactionEvent;
import com.dg.core.db.manual.pojo.QueryResults;
import com.dg.core.db.manual.pojo.RecommendResult;
import com.dg.core.db.manual.pojo.Search;
 
import java.util.List;
 
public interface ITransactionEventService
{
    /**
     * 查询导办事务详情
     * @param Id
     * @return
     */
    public TransactionEvent selectConfigData(String Id);
 
    /**
     * 导办事物列表
     * @return
     */
    public List<TransactionEvent> selectConfigList(IPage<TransactionEvent> page, Integer state,
                                                   String matterAndUser, String classifyGrade);
 
    /**
     * 新增导办事务
     * @param entity
     * @return
     */
    public int insertConfig(TransactionEvent entity);
 
    /**
     * 修改导办事务
     * @param entity
     * @return
     */
    public int updateConfig(TransactionEvent entity);
 
    /**
     * 删除接口
     * @param Id
     * @return
     */
    public int deleteConfigById(String Id);
 
    /**
     * 统计数量
     * @return
     */
    public int countNum(String matterAndUser,String classifyGrade);
 
    /**
     * 导办事务搜索
     * @param keyWord
     * @return
     */
    QueryResults queryMatterNameList(IPage<Search> page, Integer state,Integer recommendSize, String keyWord);
 
    /**
     * 导办事务搜索统计数量
     * @param matterName
     * @return
     */
    int countNumByMatterName(String matterName);
 
    /**
     *  根据分离查询导办事务
     * @param classifyId
     * @return
     */
    List<TransactionEvent> queryByClassifyIdList(String classifyId,Integer departmentId);
 
    /**
     *  根据查询时间查询导办事务
     * @return
     */
    List<TransactionEvent> queryByQueryTime();
 
    /**
     *  根据浏览次数查询导办事务
     * @return
     */
    List<TransactionEvent> queryByBrowseNum();
 
    /**
     *  查询导办事务求和
     * @return
     */
    TransactionEvent sumTransactionNum();
 
    int countNumByClassifyIdList(String classifyId, Integer departmentId);
 
    /**
     * 导办事物列表(不分页)
     * @return
     */
    List<TransactionEvent> selectList();
 
    /**
     * 智能咨询
     * @return
     */
    RecommendResult smartConsulting(String keyWord);
}