2021与蓝度共同重构项目,服务端
liuhaonan
2022-10-26 c7be2ef037c5aebb0cd8f1f33e5fa934389e6083
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?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>