<?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.ycl.mapper.equipment.EquipmentBayonetMapper">
|
|
<!-- 通用查询映射结果 -->
|
<resultMap id="BaseResultMap" type="com.ycl.entity.equipment.EquipmentBayonet">
|
<id column="id" property="id" />
|
<result column="bayonet_name" property="bayonetName" />
|
<result column="longitude" property="longitude" />
|
<result column="latitude" property="latitude" />
|
<result column="ip_address" property="ipAddress" />
|
<result column="port" property="port" />
|
<result column="description" property="description" />
|
</resultMap>
|
|
<!-- 通用查询结果列 -->
|
<sql id="Base_Column_List">
|
id, bayonet_name, longitude, latitude, ip_address, port, description
|
</sql>
|
|
</mapper>
|