package com.mvc.dao;

import com.mvc.entity.TUpgradeResults;
import com.mvc.entity.TUpgradeResultsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TUpgradeResultsMapper {
    long countByExample(TUpgradeResultsExample example);

    int deleteByExample(TUpgradeResultsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TUpgradeResults record);

    int insertSelective(TUpgradeResults record);

    List<TUpgradeResults> selectByExample(TUpgradeResultsExample example);

    TUpgradeResults selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TUpgradeResults record, @Param("example") TUpgradeResultsExample example);

    int updateByExample(@Param("record") TUpgradeResults record, @Param("example") TUpgradeResultsExample example);

    int updateByPrimaryKeySelective(TUpgradeResults record);

    int updateByPrimaryKey(TUpgradeResults record);

    List<TUpgradeResults> getLatestUpgradeResultByVersionNum(@Param("versionNum") String versionNum);
}