You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
723 B
16 lines
723 B
1 year ago
|
<?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.example.device.mapper.DeviceMapper">
|
||
|
|
||
|
<resultMap id="BaseResultMap" type="com.example.device.entity.Device">
|
||
|
<result column="id" jdbcType="BIGINT" property="id"/>
|
||
|
<result column="device_no" jdbcType="VARCHAR" property="deviceNo"/>
|
||
|
<result column="device_name" jdbcType="VARCHAR" property="deviceName"/>
|
||
|
<result column="device_ip" jdbcType="VARCHAR" property="deviceIp"/>
|
||
|
</resultMap>
|
||
|
|
||
|
<select id="SelectList" resultType="com.example.device.entity.Device">
|
||
|
select * from device
|
||
|
</select>
|
||
|
|
||
|
</mapper>
|