package com.lightinit.hsdataplatformresdir.mapper;

import com.lightinit.hsdataplatformresdir.entity.ResourceApiInterface;
import com.lightinit.hsdataplatformresdir.entity.ResourceApiInterfaceExample;
import com.lightinit.hsdataplatformresdir.entity.ResourceApiInterfaceWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ResourceApiInterfaceMapper {
    long countByExample(ResourceApiInterfaceExample example);

    int deleteByExample(ResourceApiInterfaceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ResourceApiInterfaceWithBLOBs record);

    int insertSelective(ResourceApiInterfaceWithBLOBs record);

    List<ResourceApiInterfaceWithBLOBs> selectByExampleWithBLOBs(ResourceApiInterfaceExample example);

    List<ResourceApiInterface> selectByExample(ResourceApiInterfaceExample example);

    ResourceApiInterfaceWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ResourceApiInterfaceWithBLOBs record, @Param("example") ResourceApiInterfaceExample example);

    int updateByExampleWithBLOBs(@Param("record") ResourceApiInterfaceWithBLOBs record, @Param("example") ResourceApiInterfaceExample example);

    int updateByExample(@Param("record") ResourceApiInterface record, @Param("example") ResourceApiInterfaceExample example);

    int updateByPrimaryKeySelective(ResourceApiInterfaceWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ResourceApiInterfaceWithBLOBs record);

    int updateByPrimaryKey(ResourceApiInterface record);

    List<Long> queryIdByAPIid(long id);

    List<ResourceApiInterfaceWithBLOBs> selectByAPIid(long id);
}