49 lines
1.8 KiB
XML
49 lines
1.8 KiB
XML
|
|
<?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.nis.web.dao.DfLogSearchDao">
|
||
|
|
<!-- 所有日志表的公共属性 -->
|
||
|
|
<sql id="commonPorperty">
|
||
|
|
cfg_id ,
|
||
|
|
found_time ,
|
||
|
|
recv_time ,
|
||
|
|
trans_proto ,
|
||
|
|
addr_type ,
|
||
|
|
d_ip ,
|
||
|
|
s_ip ,
|
||
|
|
d_port ,
|
||
|
|
s_port ,
|
||
|
|
service ,
|
||
|
|
entrance_id ,
|
||
|
|
device_id ,
|
||
|
|
direction ,
|
||
|
|
stream_dir ,
|
||
|
|
cap_ip ,
|
||
|
|
addr_list ,
|
||
|
|
user_region
|
||
|
|
</sql>
|
||
|
|
<resultMap id="NtcIpLogMap" type="com.nis.domain.restful.NtcIpLog">
|
||
|
|
<result column="cfg_id" jdbcType="BIGINT" property="cfgId" />
|
||
|
|
<result column="found_Time" jdbcType="TIMESTAMP" property="foundTime" />
|
||
|
|
<result column="recv_Time" jdbcType="TIMESTAMP" property="recvTime" />
|
||
|
|
<result column="trans_proto" jdbcType="VARCHAR" property="transProto" />
|
||
|
|
<result column="addr_type" jdbcType="INTEGER" property="addrType" />
|
||
|
|
<result column="d_ip" jdbcType="VARCHAR" property="dIp" />
|
||
|
|
<result column="s_ip" jdbcType="VARCHAR" property="sIp" />
|
||
|
|
<result column="d_port" jdbcType="VARCHAR" property="dPort" />
|
||
|
|
<result column="s_port" jdbcType="VARCHAR" property="sPort" />
|
||
|
|
<result column="service" jdbcType="INTEGER" property="service" />
|
||
|
|
<result column="entrance_id" jdbcType="BIGINT" property="entranceId" />
|
||
|
|
<result column="device_id" jdbcType="INTEGER" property="deviceId" />
|
||
|
|
<result column="direction" jdbcType="INTEGER" property="direction" />
|
||
|
|
<result column="stream_dir" jdbcType="INTEGER" property="streamDir" />
|
||
|
|
<result column="cap_ip" jdbcType="VARCHAR" property="capIp" />
|
||
|
|
<result column="addr_list" jdbcType="VARCHAR" property="addrList" />
|
||
|
|
<result column="user_region" jdbcType="VARCHAR" property="userRegion" />
|
||
|
|
</resultMap>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</mapper>
|