<?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.sandu.ximon.dao.mapper.InnerFrameDataMapper">
|
|
<resultMap id="BaseResultMap" type="com.sandu.ximon.dao.domain.InnerFrameData">
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
<result property="deviceCode" column="device_code" jdbcType="VARCHAR"/>
|
<result property="operation" column="operation" jdbcType="VARCHAR"/>
|
<result property="syncType" column="sync_type" jdbcType="VARCHAR"/>
|
<result property="frame" column="frame" jdbcType="VARCHAR"/>
|
<result property="frameResult" column="frame_result" jdbcType="VARCHAR"/>
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
id,device_code,operation,
|
sync_type,frame,frame_result,
|
create_time
|
</sql>
|
<select id="operationList" resultType="java.lang.String">
|
SELECT
|
operation
|
FROM
|
inner_frame_data
|
GROUP BY
|
operation
|
</select>
|
</mapper>
|