|
|
package com.topsail.influxdb.mapper;
|
|
|
|
|
|
import com.topsail.influxdb.pojo.DeviceInfo;
|
|
|
import com.topsail.influxdb.pojo.DeviceInfoExample;
|
|
|
import java.util.List;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
public interface DeviceInfoMapper {
|
|
|
long countByExample(DeviceInfoExample example);
|
|
|
|
|
|
int deleteByExample(DeviceInfoExample example);
|
|
|
|
|
|
int insert(DeviceInfo record);
|
|
|
|
|
|
int insertSelective(DeviceInfo record);
|
|
|
|
|
|
List<DeviceInfo> selectByExampleWithBLOBs(DeviceInfoExample example);
|
|
|
|
|
|
List<DeviceInfo> selectByExample(DeviceInfoExample example);
|
|
|
|
|
|
int updateByExampleSelective(@Param("record") DeviceInfo record, @Param("example") DeviceInfoExample example);
|
|
|
|
|
|
int updateByExampleWithBLOBs(@Param("record") DeviceInfo record, @Param("example") DeviceInfoExample example);
|
|
|
|
|
|
int updateByExample(@Param("record") DeviceInfo record, @Param("example") DeviceInfoExample example);
|
|
|
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table device_info
|
|
|
*
|
|
|
* @mbg.generated
|
|
|
* @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
*/
|
|
|
int batchInsert(@Param("list") List<DeviceInfo> list);
|
|
|
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table device_info
|
|
|
*
|
|
|
* @mbg.generated
|
|
|
* @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
*/
|
|
|
int batchInsertSelective(@Param("list") List<DeviceInfo> list, @Param("selective") DeviceInfo.Column ... selective);
|
|
|
}
|