高速设备状态
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.
 
 

17 lines
766 B

<?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="stake_mark" jdbcType="VARCHAR" property="stakeMark"/>
<result column="device_name" jdbcType="VARCHAR" property="deviceName"/>
<result column="device_ip" jdbcType="VARCHAR" property="deviceIp"/>
</resultMap>
<select id="SelectList" parameterType="com.example.device.entity.Device" resultMap="BaseResultMap">
select *
from dc_device
</select>
</mapper>