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();
|
}
|