2021与蓝度共同重构项目,服务端
liuhaonan
2022-10-24 7a00187d197548e23a38dcb87187ef6b2b7f8bfb
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
<?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.InterphoneEventMapper">
 
    <resultMap id="BaseResultMap" type="com.sandu.ximon.dao.domain.InterphoneEvent">
            <id property="eventId" column="event_id" jdbcType="INTEGER"/>
            <result property="evevtType" column="evevt_type" jdbcType="INTEGER"/>
            <result property="hostMac" column="host_mac" jdbcType="VARCHAR"/>
            <result property="hostIp" column="host_ip" jdbcType="VARCHAR"/>
            <result property="subIp" column="sub_ip" jdbcType="VARCHAR"/>
            <result property="eventResult" column="event_result" jdbcType="VARCHAR"/>
            <result property="starttime" column="starttime" jdbcType="TIMESTAMP"/>
            <result property="endtime" column="endtime" jdbcType="TIMESTAMP"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
    </resultMap>
 
    <sql id="Base_Column_List">
        event_id,evevt_type,host_mac,
        host_ip,sub_ip,event_result,
        starttime,endtime,create_time,
        update_time
    </sql>
</mapper>