package com.moral.monitor.dao; import com.moral.monitor.entity.History; import com.moral.monitor.entity.HistoryExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface HistoryMapper { long countByExample(HistoryExample example); int deleteByExample(HistoryExample example); int deleteByPrimaryKey(Integer id); int insert(History record); int insertSelective(History record); List selectByExample(HistoryExample example); History selectByPrimaryKey(Integer id); int updateByExampleSelective(@Param("record") History record, @Param("example") HistoryExample example); int updateByExample(@Param("record") History record, @Param("example") HistoryExample example); int updateByPrimaryKeySelective(History record); int updateByPrimaryKey(History record); }