|
@@ -0,0 +1,34 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE mapper
|
|
|
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<mapper namespace="com.charging.chargingparking.mapper.CameraInfoMapper">
|
|
|
+
|
|
|
+ <resultMap id="BaseResultMap" type="com.charging.chargingparking.entity.CameraInfo">
|
|
|
+ <id property="id" column="id_" jdbcType="VARCHAR"/>
|
|
|
+ <result property="deviceSerial" column="device_serial" jdbcType="VARCHAR"/>
|
|
|
+ <result property="channelNo" column="channel_no" jdbcType="INTEGER"/>
|
|
|
+ <result property="deviceName" column="device_name" jdbcType="VARCHAR"/>
|
|
|
+ <result property="status" column="status_" jdbcType="INTEGER"/>
|
|
|
+ <result property="validCode" column="valid_code" jdbcType="VARCHAR"/>
|
|
|
+ <result property="companyId" column="company_id" jdbcType="VARCHAR"/>
|
|
|
+ <result property="deviceVersion" column="device_version" jdbcType="VARCHAR"/>
|
|
|
+ <result property="delFlag" column="del_flag" jdbcType="BIT"/>
|
|
|
+ <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
|
|
+ <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
|
|
+ <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="picUrl" column="pic_url" jdbcType="VARCHAR"/>
|
|
|
+ <result property="roomAddress" column="room_address" jdbcType="VARCHAR"/>
|
|
|
+ <result property="classify" column="classify_" jdbcType="VARCHAR"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ id_,device_serial,channel_no,
|
|
|
+ device_name,status_,valid_code,
|
|
|
+ company_id,device_version,del_flag,
|
|
|
+ create_by,create_time,update_by,
|
|
|
+ update_time,pic_url,room_address,
|
|
|
+ classify_
|
|
|
+ </sql>
|
|
|
+</mapper>
|