You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

62 lines
1.7 KiB

package com.topsail.influxdb.mapper;
import com.topsail.influxdb.pojo.Alarm;
import com.topsail.influxdb.pojo.AlarmExample;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AlarmMapper {
long countByExample(AlarmExample example);
int deleteByExample(AlarmExample example);
int deleteByPrimaryKey(Long id);
int insert(Alarm record);
int insertAlarmData(@Param("alarmData") Alarm record);
int updateAlarmData(Alarm record);
int insertAlarmDataMonth(@Param("alarmData") Alarm record);
Alarm findAlarmData(@Param("imei")String imei);
int insertSelective(Alarm record);
List<Alarm> selectByExample(AlarmExample example);
Alarm selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Alarm record, @Param("example") AlarmExample example);
int updateByExample(@Param("record") Alarm record, @Param("example") AlarmExample example);
int updateByPrimaryKeySelective(Alarm record);
int updateByPrimaryKey(Alarm record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table alarm
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int batchInsert(@Param("list") List<Alarm> list);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table alarm
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int batchInsertSelective(@Param("list") List<Alarm> list, @Param("selective") Alarm.Column ... selective);
int deleteAlarmDataMonth(@Param("endTime") Date endTime);
}