package io.metersphere.api.mapper;

import io.metersphere.api.domain.ApiDefinitionSwagger;
import io.metersphere.api.domain.ApiDefinitionSwaggerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ApiDefinitionSwaggerMapper {
    long countByExample(ApiDefinitionSwaggerExample example);

    int deleteByExample(ApiDefinitionSwaggerExample example);

    int deleteByPrimaryKey(String id);

    int insert(ApiDefinitionSwagger record);

    int insertSelective(ApiDefinitionSwagger record);

    List<ApiDefinitionSwagger> selectByExampleWithBLOBs(ApiDefinitionSwaggerExample example);

    List<ApiDefinitionSwagger> selectByExample(ApiDefinitionSwaggerExample example);

    ApiDefinitionSwagger selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ApiDefinitionSwagger record, @Param("example") ApiDefinitionSwaggerExample example);

    int updateByExampleWithBLOBs(@Param("record") ApiDefinitionSwagger record, @Param("example") ApiDefinitionSwaggerExample example);

    int updateByExample(@Param("record") ApiDefinitionSwagger record, @Param("example") ApiDefinitionSwaggerExample example);

    int updateByPrimaryKeySelective(ApiDefinitionSwagger record);

    int updateByPrimaryKeyWithBLOBs(ApiDefinitionSwagger record);

    int updateByPrimaryKey(ApiDefinitionSwagger record);
}