<?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.moral.mapper.DevicePropertyMapper">
|
<resultMap id="BaseResultMap" type="com.moral.entity.DeviceProperty">
|
<id column="id" jdbcType="INTEGER" property="id" />
|
<result column="device_tech" jdbcType="TINYINT" property="deviceTech" />
|
<result column="device_cat" jdbcType="TINYINT" property="deviceCat" />
|
<result column="device_source" jdbcType="VARCHAR" property="deviceSource" />
|
<result column="ext_a" jdbcType="INTEGER" property="extA" />
|
<result column="ext_b" jdbcType="INTEGER" property="extB" />
|
<result column="ext_c" jdbcType="VARCHAR" property="extC" />
|
<result column="ext_d" jdbcType="VARCHAR" property="extD" />
|
<result column="ext_e" jdbcType="VARCHAR" property="extE" />
|
</resultMap>
|
<sql id="Base_Column_List">
|
id, device_tech, device_cat, device_source, ext_a, ext_b, ext_c, ext_d, ext_e
|
</sql>
|
</mapper>
|