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