lidongdong
2022-12-06 229223286a57c66beac1fa411c8494f64495abfc
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
package com.dg.core.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dg.core.db.gen.entity.KeywordEntity;
 
import java.util.List;
 
public interface IKeywordService {
    /**
     * 查询关键词列表
     * @return
     */
    public List<KeywordEntity> selectConfigList(IPage<KeywordEntity> page, Integer state);
 
    /**
     * 查询详情
     * @return
     */
    public KeywordEntity selectConfigData(String Id,
                                                String name);
 
 
    /**
     * 添加关键词
     * @return
     */
    public int insertConfig(KeywordEntity entity);
 
    /**
     * 编辑关键词
     * @return
     */
    public int updateConfig(KeywordEntity entity);
 
    /**
     * 删除关键词
     * @param Id
     * @return
     */
    public int deleteConfigById(String Id);
 
    /**
     * 统计数量
     * @param Id
     * @return
     */
    public int countNum();
}