package com.lightinit.hsdataportal.mapper;

import com.lightinit.hsdataportal.entity.Tag;
import com.lightinit.hsdataportal.entity.TagExample;
import com.lightinit.hsdataportal.entity.TagWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TagMapper {
    long countByExample(TagExample example);

    int deleteByExample(TagExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TagWithBLOBs record);

    int insertSelective(TagWithBLOBs record);

    List<TagWithBLOBs> selectByExampleWithBLOBs(TagExample example);

    List<Tag> selectByExample(TagExample example);

    TagWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TagWithBLOBs record, @Param("example") TagExample example);

    int updateByExampleWithBLOBs(@Param("record") TagWithBLOBs record, @Param("example") TagExample example);

    int updateByExample(@Param("record") Tag record, @Param("example") TagExample example);

    int updateByPrimaryKeySelective(TagWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TagWithBLOBs record);

    int updateByPrimaryKey(Tag record);
}