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