package com.ruoyi.template.mapper;
|
|
import com.ruoyi.template.domain.BaseTagcategory;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
|
/**
|
* 标签分类Mapper接口
|
*
|
* @author ruoyi
|
* @date 2023-06-15
|
*/
|
@Mapper
|
public interface BaseTagcategoryMapper {
|
/**
|
* 查询标签分类
|
*
|
* @param tagcategoryid 标签分类主键
|
* @return 标签分类
|
*/
|
public BaseTagcategory selectBaseTagcategoryByTagcategoryid(Long tagcategoryid);
|
|
/**
|
* 查询标签分类列表
|
*
|
* @param baseTagcategory 标签分类
|
* @return 标签分类集合
|
*/
|
public List<BaseTagcategory> selectBaseTagcategoryList(BaseTagcategory baseTagcategory);
|
|
/**
|
* 新增标签分类
|
*
|
* @param baseTagcategory 标签分类
|
* @return 结果
|
*/
|
public int insertBaseTagcategory(BaseTagcategory baseTagcategory);
|
|
/**
|
* 修改标签分类
|
*
|
* @param baseTagcategory 标签分类
|
* @return 结果
|
*/
|
public int updateBaseTagcategory(BaseTagcategory baseTagcategory);
|
|
/**
|
* 删除标签分类
|
*
|
* @param tagcategoryid 标签分类主键
|
* @return 结果
|
*/
|
public int deleteBaseTagcategoryByTagcategoryid(Long tagcategoryid);
|
|
/**
|
* 批量删除标签分类
|
*
|
* @param tagcategoryids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteBaseTagcategoryByTagcategoryids(Long[] tagcategoryids);
|
|
|
public List<BaseTagcategory> baseTagCategoryByName(String categoryname);
|
}
|