mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.dg.core.db.gen.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dg.core.db.gen.entity.KeywordEntity;
import com.dg.core.db.gen.entity.SysUser;
import org.springframework.data.repository.query.Param;
 
import java.util.List;
 
public interface KeywordMapper extends BaseMapper<KeywordEntity>
{
    /**
     * 查询关键词列表
     * @return
     */
    public List<KeywordEntity> selectConfigList(IPage<KeywordEntity> page, Integer state);
 
    /**
     * 查询详情
     * @return
     */
    public KeywordEntity selectConfigData(@Param("Id") String Id,
                                                @Param("name") String name);
 
 
    /**
     * 添加关键词
     * @return
     */
    public int insertConfig(KeywordEntity entity);
 
    /**
     * 编辑关键词
     * @return
     */
    public int updateConfig(KeywordEntity entity);
 
    /**
     * 删除关键词
     * @param Id
     * @return
     */
    public int deleteConfigById(String Id);
 
    /**
     * 统计数量
     * @param
     * @return
     */
    public int countNum();
 
    /**
     * 更具名字查询关键词列表(不分页)
     * @return
     */
    List<KeywordEntity>  selectByName(@Param("keyWord") String keyWord);
 
 
 
}