All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sqlmap.llsfw.generator.standard.system.TtRequestResponseLogMapper.xml Maven / Gradle / Ivy

<?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.llsfw.generator.mapper.standard.system.TtRequestResponseLogMapper">
  <resultMap id="BaseResultMap" type="com.llsfw.generator.model.standard.system.TtRequestResponseLog">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    <id column="REQUEST_ID" jdbcType="VARCHAR" property="requestId" />
    <result column="BEGIN_TIME" jdbcType="TIMESTAMP" property="beginTime" />
    <result column="END_TIME" jdbcType="TIMESTAMP" property="endTime" />
    <result column="REQUEST_TIME" jdbcType="DECIMAL" property="requestTime" />
    <result column="LOGIN_NAME" jdbcType="VARCHAR" property="loginName" />
    <result column="SESSION_ID" jdbcType="VARCHAR" property="sessionId" />
    <result column="SCHEME" jdbcType="VARCHAR" property="scheme" />
    <result column="SERVER_NAME" jdbcType="VARCHAR" property="serverName" />
    <result column="SERVER_PORT" jdbcType="DECIMAL" property="serverPort" />
    <result column="REQUEST_URI" jdbcType="VARCHAR" property="requestUri" />
    <result column="METHOD" jdbcType="VARCHAR" property="method" />
    <result column="REQUEST_PARAMS" jdbcType="VARCHAR" property="requestParams" />
    <result column="MOBILE_PAT" jdbcType="DECIMAL" property="mobilePat" />
    <result column="AUTH_TYPE" jdbcType="VARCHAR" property="authType" />
    <result column="CHARACTER_ENCODING" jdbcType="VARCHAR" property="characterEncoding" />
    <result column="CONTENT_LENGTH" jdbcType="DECIMAL" property="contentLength" />
    <result column="CONTENT_TYPE" jdbcType="VARCHAR" property="contentType" />
    <result column="HEADER_NAMES" jdbcType="VARCHAR" property="headerNames" />
    <result column="LOCAL_ADDR" jdbcType="VARCHAR" property="localAddr" />
    <result column="LOCAL_NAME" jdbcType="VARCHAR" property="localName" />
    <result column="LOCAL_PORT" jdbcType="DECIMAL" property="localPort" />
    <result column="PATH_TRANSLATED" jdbcType="VARCHAR" property="pathTranslated" />
    <result column="PROTOCOL" jdbcType="VARCHAR" property="protocol" />
    <result column="REMOTE_ADDR" jdbcType="VARCHAR" property="remoteAddr" />
    <result column="REMOTE_HOST" jdbcType="VARCHAR" property="remoteHost" />
    <result column="REMOTE_PORT" jdbcType="DECIMAL" property="remotePort" />
    <result column="REMOTE_USER" jdbcType="VARCHAR" property="remoteUser" />
    <result column="REQUESTED_SESSION_ID_VALID" jdbcType="DECIMAL" property="requestedSessionIdValid" />
    <result column="SECURE" jdbcType="DECIMAL" property="secure" />
    <result column="RESPONSE_HEADER_NAMES" jdbcType="VARCHAR" property="responseHeaderNames" />
    <result column="RESPONSE_CHARACTER_ENCONDING" jdbcType="VARCHAR" property="responseCharacterEnconding" />
    <result column="RESPONSE_CONTENT_TYPE" jdbcType="VARCHAR" property="responseContentType" />
    <result column="RESPONSE_STATUS" jdbcType="DECIMAL" property="responseStatus" />
    <result column="RESPONSE_VIEW" jdbcType="VARCHAR" property="responseView" />
    <result column="EXCEPTION_CLASS" jdbcType="VARCHAR" property="exceptionClass" />
    <result column="EXCEPTION_MESSAGE" jdbcType="VARCHAR" property="exceptionMessage" />
    <result column="EXCEPTION_STACK_TRACK" jdbcType="VARCHAR" property="exceptionStackTrack" />
    <result column="JVM_MAX_MEMORY" jdbcType="DECIMAL" property="jvmMaxMemory" />
    <result column="JVM_TOTAL_MEMORY" jdbcType="DECIMAL" property="jvmTotalMemory" />
    <result column="JVM_FREE_MEMORY" jdbcType="DECIMAL" property="jvmFreeMemory" />
    <result column="JVM_USER_MEMORY" jdbcType="DECIMAL" property="jvmUserMemory" />
    <result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    <where>
      <foreach collection="oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    <where>
      <foreach collection="example.oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    REQUEST_ID, BEGIN_TIME, END_TIME, REQUEST_TIME, LOGIN_NAME, SESSION_ID, SCHEME, SERVER_NAME, 
    SERVER_PORT, REQUEST_URI, METHOD, REQUEST_PARAMS, MOBILE_PAT, AUTH_TYPE, CHARACTER_ENCODING, 
    CONTENT_LENGTH, CONTENT_TYPE, HEADER_NAMES, LOCAL_ADDR, LOCAL_NAME, LOCAL_PORT, PATH_TRANSLATED, 
    PROTOCOL, REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT, REMOTE_USER, REQUESTED_SESSION_ID_VALID, 
    SECURE, RESPONSE_HEADER_NAMES, RESPONSE_CHARACTER_ENCONDING, RESPONSE_CONTENT_TYPE, 
    RESPONSE_STATUS, RESPONSE_VIEW, EXCEPTION_CLASS, EXCEPTION_MESSAGE, EXCEPTION_STACK_TRACK, 
    JVM_MAX_MEMORY, JVM_TOTAL_MEMORY, JVM_FREE_MEMORY, JVM_USER_MEMORY, CREATE_DATE
  </sql>
  <select id="selectByExample" parameterType="com.llsfw.generator.model.standard.system.TtRequestResponseLogCriteria" resultMap="BaseResultMap">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from TT_REQUEST_RESPONSE_LOG
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    select 
    <include refid="Base_Column_List" />
    from TT_REQUEST_RESPONSE_LOG
    where REQUEST_ID = #{requestId,jdbcType=VARCHAR}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    delete from TT_REQUEST_RESPONSE_LOG
    where REQUEST_ID = #{requestId,jdbcType=VARCHAR}
  </delete>
  <delete id="deleteByExample" parameterType="com.llsfw.generator.model.standard.system.TtRequestResponseLogCriteria">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    delete from TT_REQUEST_RESPONSE_LOG
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.llsfw.generator.model.standard.system.TtRequestResponseLog">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    insert into TT_REQUEST_RESPONSE_LOG (REQUEST_ID, BEGIN_TIME, END_TIME, 
      REQUEST_TIME, LOGIN_NAME, SESSION_ID, 
      SCHEME, SERVER_NAME, SERVER_PORT, 
      REQUEST_URI, METHOD, REQUEST_PARAMS, 
      MOBILE_PAT, AUTH_TYPE, CHARACTER_ENCODING, 
      CONTENT_LENGTH, CONTENT_TYPE, HEADER_NAMES, 
      LOCAL_ADDR, LOCAL_NAME, LOCAL_PORT, 
      PATH_TRANSLATED, PROTOCOL, REMOTE_ADDR, 
      REMOTE_HOST, REMOTE_PORT, REMOTE_USER, 
      REQUESTED_SESSION_ID_VALID, SECURE, RESPONSE_HEADER_NAMES, 
      RESPONSE_CHARACTER_ENCONDING, RESPONSE_CONTENT_TYPE, 
      RESPONSE_STATUS, RESPONSE_VIEW, EXCEPTION_CLASS, 
      EXCEPTION_MESSAGE, EXCEPTION_STACK_TRACK, 
      JVM_MAX_MEMORY, JVM_TOTAL_MEMORY, JVM_FREE_MEMORY, 
      JVM_USER_MEMORY, CREATE_DATE)
    values (#{requestId,jdbcType=VARCHAR}, #{beginTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, 
      #{requestTime,jdbcType=DECIMAL}, #{loginName,jdbcType=VARCHAR}, #{sessionId,jdbcType=VARCHAR}, 
      #{scheme,jdbcType=VARCHAR}, #{serverName,jdbcType=VARCHAR}, #{serverPort,jdbcType=DECIMAL}, 
      #{requestUri,jdbcType=VARCHAR}, #{method,jdbcType=VARCHAR}, #{requestParams,jdbcType=VARCHAR}, 
      #{mobilePat,jdbcType=DECIMAL}, #{authType,jdbcType=VARCHAR}, #{characterEncoding,jdbcType=VARCHAR}, 
      #{contentLength,jdbcType=DECIMAL}, #{contentType,jdbcType=VARCHAR}, #{headerNames,jdbcType=VARCHAR}, 
      #{localAddr,jdbcType=VARCHAR}, #{localName,jdbcType=VARCHAR}, #{localPort,jdbcType=DECIMAL}, 
      #{pathTranslated,jdbcType=VARCHAR}, #{protocol,jdbcType=VARCHAR}, #{remoteAddr,jdbcType=VARCHAR}, 
      #{remoteHost,jdbcType=VARCHAR}, #{remotePort,jdbcType=DECIMAL}, #{remoteUser,jdbcType=VARCHAR}, 
      #{requestedSessionIdValid,jdbcType=DECIMAL}, #{secure,jdbcType=DECIMAL}, #{responseHeaderNames,jdbcType=VARCHAR}, 
      #{responseCharacterEnconding,jdbcType=VARCHAR}, #{responseContentType,jdbcType=VARCHAR}, 
      #{responseStatus,jdbcType=DECIMAL}, #{responseView,jdbcType=VARCHAR}, #{exceptionClass,jdbcType=VARCHAR}, 
      #{exceptionMessage,jdbcType=VARCHAR}, #{exceptionStackTrack,jdbcType=VARCHAR}, 
      #{jvmMaxMemory,jdbcType=DECIMAL}, #{jvmTotalMemory,jdbcType=DECIMAL}, #{jvmFreeMemory,jdbcType=DECIMAL}, 
      #{jvmUserMemory,jdbcType=DECIMAL}, #{createDate,jdbcType=TIMESTAMP})
  </insert>
  <insert id="insertSelective" parameterType="com.llsfw.generator.model.standard.system.TtRequestResponseLog">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    insert into TT_REQUEST_RESPONSE_LOG
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="requestId != null">
        REQUEST_ID,
      </if>
      <if test="beginTime != null">
        BEGIN_TIME,
      </if>
      <if test="endTime != null">
        END_TIME,
      </if>
      <if test="requestTime != null">
        REQUEST_TIME,
      </if>
      <if test="loginName != null">
        LOGIN_NAME,
      </if>
      <if test="sessionId != null">
        SESSION_ID,
      </if>
      <if test="scheme != null">
        SCHEME,
      </if>
      <if test="serverName != null">
        SERVER_NAME,
      </if>
      <if test="serverPort != null">
        SERVER_PORT,
      </if>
      <if test="requestUri != null">
        REQUEST_URI,
      </if>
      <if test="method != null">
        METHOD,
      </if>
      <if test="requestParams != null">
        REQUEST_PARAMS,
      </if>
      <if test="mobilePat != null">
        MOBILE_PAT,
      </if>
      <if test="authType != null">
        AUTH_TYPE,
      </if>
      <if test="characterEncoding != null">
        CHARACTER_ENCODING,
      </if>
      <if test="contentLength != null">
        CONTENT_LENGTH,
      </if>
      <if test="contentType != null">
        CONTENT_TYPE,
      </if>
      <if test="headerNames != null">
        HEADER_NAMES,
      </if>
      <if test="localAddr != null">
        LOCAL_ADDR,
      </if>
      <if test="localName != null">
        LOCAL_NAME,
      </if>
      <if test="localPort != null">
        LOCAL_PORT,
      </if>
      <if test="pathTranslated != null">
        PATH_TRANSLATED,
      </if>
      <if test="protocol != null">
        PROTOCOL,
      </if>
      <if test="remoteAddr != null">
        REMOTE_ADDR,
      </if>
      <if test="remoteHost != null">
        REMOTE_HOST,
      </if>
      <if test="remotePort != null">
        REMOTE_PORT,
      </if>
      <if test="remoteUser != null">
        REMOTE_USER,
      </if>
      <if test="requestedSessionIdValid != null">
        REQUESTED_SESSION_ID_VALID,
      </if>
      <if test="secure != null">
        SECURE,
      </if>
      <if test="responseHeaderNames != null">
        RESPONSE_HEADER_NAMES,
      </if>
      <if test="responseCharacterEnconding != null">
        RESPONSE_CHARACTER_ENCONDING,
      </if>
      <if test="responseContentType != null">
        RESPONSE_CONTENT_TYPE,
      </if>
      <if test="responseStatus != null">
        RESPONSE_STATUS,
      </if>
      <if test="responseView != null">
        RESPONSE_VIEW,
      </if>
      <if test="exceptionClass != null">
        EXCEPTION_CLASS,
      </if>
      <if test="exceptionMessage != null">
        EXCEPTION_MESSAGE,
      </if>
      <if test="exceptionStackTrack != null">
        EXCEPTION_STACK_TRACK,
      </if>
      <if test="jvmMaxMemory != null">
        JVM_MAX_MEMORY,
      </if>
      <if test="jvmTotalMemory != null">
        JVM_TOTAL_MEMORY,
      </if>
      <if test="jvmFreeMemory != null">
        JVM_FREE_MEMORY,
      </if>
      <if test="jvmUserMemory != null">
        JVM_USER_MEMORY,
      </if>
      <if test="createDate != null">
        CREATE_DATE,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="requestId != null">
        #{requestId,jdbcType=VARCHAR},
      </if>
      <if test="beginTime != null">
        #{beginTime,jdbcType=TIMESTAMP},
      </if>
      <if test="endTime != null">
        #{endTime,jdbcType=TIMESTAMP},
      </if>
      <if test="requestTime != null">
        #{requestTime,jdbcType=DECIMAL},
      </if>
      <if test="loginName != null">
        #{loginName,jdbcType=VARCHAR},
      </if>
      <if test="sessionId != null">
        #{sessionId,jdbcType=VARCHAR},
      </if>
      <if test="scheme != null">
        #{scheme,jdbcType=VARCHAR},
      </if>
      <if test="serverName != null">
        #{serverName,jdbcType=VARCHAR},
      </if>
      <if test="serverPort != null">
        #{serverPort,jdbcType=DECIMAL},
      </if>
      <if test="requestUri != null">
        #{requestUri,jdbcType=VARCHAR},
      </if>
      <if test="method != null">
        #{method,jdbcType=VARCHAR},
      </if>
      <if test="requestParams != null">
        #{requestParams,jdbcType=VARCHAR},
      </if>
      <if test="mobilePat != null">
        #{mobilePat,jdbcType=DECIMAL},
      </if>
      <if test="authType != null">
        #{authType,jdbcType=VARCHAR},
      </if>
      <if test="characterEncoding != null">
        #{characterEncoding,jdbcType=VARCHAR},
      </if>
      <if test="contentLength != null">
        #{contentLength,jdbcType=DECIMAL},
      </if>
      <if test="contentType != null">
        #{contentType,jdbcType=VARCHAR},
      </if>
      <if test="headerNames != null">
        #{headerNames,jdbcType=VARCHAR},
      </if>
      <if test="localAddr != null">
        #{localAddr,jdbcType=VARCHAR},
      </if>
      <if test="localName != null">
        #{localName,jdbcType=VARCHAR},
      </if>
      <if test="localPort != null">
        #{localPort,jdbcType=DECIMAL},
      </if>
      <if test="pathTranslated != null">
        #{pathTranslated,jdbcType=VARCHAR},
      </if>
      <if test="protocol != null">
        #{protocol,jdbcType=VARCHAR},
      </if>
      <if test="remoteAddr != null">
        #{remoteAddr,jdbcType=VARCHAR},
      </if>
      <if test="remoteHost != null">
        #{remoteHost,jdbcType=VARCHAR},
      </if>
      <if test="remotePort != null">
        #{remotePort,jdbcType=DECIMAL},
      </if>
      <if test="remoteUser != null">
        #{remoteUser,jdbcType=VARCHAR},
      </if>
      <if test="requestedSessionIdValid != null">
        #{requestedSessionIdValid,jdbcType=DECIMAL},
      </if>
      <if test="secure != null">
        #{secure,jdbcType=DECIMAL},
      </if>
      <if test="responseHeaderNames != null">
        #{responseHeaderNames,jdbcType=VARCHAR},
      </if>
      <if test="responseCharacterEnconding != null">
        #{responseCharacterEnconding,jdbcType=VARCHAR},
      </if>
      <if test="responseContentType != null">
        #{responseContentType,jdbcType=VARCHAR},
      </if>
      <if test="responseStatus != null">
        #{responseStatus,jdbcType=DECIMAL},
      </if>
      <if test="responseView != null">
        #{responseView,jdbcType=VARCHAR},
      </if>
      <if test="exceptionClass != null">
        #{exceptionClass,jdbcType=VARCHAR},
      </if>
      <if test="exceptionMessage != null">
        #{exceptionMessage,jdbcType=VARCHAR},
      </if>
      <if test="exceptionStackTrack != null">
        #{exceptionStackTrack,jdbcType=VARCHAR},
      </if>
      <if test="jvmMaxMemory != null">
        #{jvmMaxMemory,jdbcType=DECIMAL},
      </if>
      <if test="jvmTotalMemory != null">
        #{jvmTotalMemory,jdbcType=DECIMAL},
      </if>
      <if test="jvmFreeMemory != null">
        #{jvmFreeMemory,jdbcType=DECIMAL},
      </if>
      <if test="jvmUserMemory != null">
        #{jvmUserMemory,jdbcType=DECIMAL},
      </if>
      <if test="createDate != null">
        #{createDate,jdbcType=TIMESTAMP},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.llsfw.generator.model.standard.system.TtRequestResponseLogCriteria" resultType="java.lang.Integer">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    select count(*) from TT_REQUEST_RESPONSE_LOG
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    update TT_REQUEST_RESPONSE_LOG
    <set>
      <if test="record.requestId != null">
        REQUEST_ID = #{record.requestId,jdbcType=VARCHAR},
      </if>
      <if test="record.beginTime != null">
        BEGIN_TIME = #{record.beginTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.endTime != null">
        END_TIME = #{record.endTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.requestTime != null">
        REQUEST_TIME = #{record.requestTime,jdbcType=DECIMAL},
      </if>
      <if test="record.loginName != null">
        LOGIN_NAME = #{record.loginName,jdbcType=VARCHAR},
      </if>
      <if test="record.sessionId != null">
        SESSION_ID = #{record.sessionId,jdbcType=VARCHAR},
      </if>
      <if test="record.scheme != null">
        SCHEME = #{record.scheme,jdbcType=VARCHAR},
      </if>
      <if test="record.serverName != null">
        SERVER_NAME = #{record.serverName,jdbcType=VARCHAR},
      </if>
      <if test="record.serverPort != null">
        SERVER_PORT = #{record.serverPort,jdbcType=DECIMAL},
      </if>
      <if test="record.requestUri != null">
        REQUEST_URI = #{record.requestUri,jdbcType=VARCHAR},
      </if>
      <if test="record.method != null">
        METHOD = #{record.method,jdbcType=VARCHAR},
      </if>
      <if test="record.requestParams != null">
        REQUEST_PARAMS = #{record.requestParams,jdbcType=VARCHAR},
      </if>
      <if test="record.mobilePat != null">
        MOBILE_PAT = #{record.mobilePat,jdbcType=DECIMAL},
      </if>
      <if test="record.authType != null">
        AUTH_TYPE = #{record.authType,jdbcType=VARCHAR},
      </if>
      <if test="record.characterEncoding != null">
        CHARACTER_ENCODING = #{record.characterEncoding,jdbcType=VARCHAR},
      </if>
      <if test="record.contentLength != null">
        CONTENT_LENGTH = #{record.contentLength,jdbcType=DECIMAL},
      </if>
      <if test="record.contentType != null">
        CONTENT_TYPE = #{record.contentType,jdbcType=VARCHAR},
      </if>
      <if test="record.headerNames != null">
        HEADER_NAMES = #{record.headerNames,jdbcType=VARCHAR},
      </if>
      <if test="record.localAddr != null">
        LOCAL_ADDR = #{record.localAddr,jdbcType=VARCHAR},
      </if>
      <if test="record.localName != null">
        LOCAL_NAME = #{record.localName,jdbcType=VARCHAR},
      </if>
      <if test="record.localPort != null">
        LOCAL_PORT = #{record.localPort,jdbcType=DECIMAL},
      </if>
      <if test="record.pathTranslated != null">
        PATH_TRANSLATED = #{record.pathTranslated,jdbcType=VARCHAR},
      </if>
      <if test="record.protocol != null">
        PROTOCOL = #{record.protocol,jdbcType=VARCHAR},
      </if>
      <if test="record.remoteAddr != null">
        REMOTE_ADDR = #{record.remoteAddr,jdbcType=VARCHAR},
      </if>
      <if test="record.remoteHost != null">
        REMOTE_HOST = #{record.remoteHost,jdbcType=VARCHAR},
      </if>
      <if test="record.remotePort != null">
        REMOTE_PORT = #{record.remotePort,jdbcType=DECIMAL},
      </if>
      <if test="record.remoteUser != null">
        REMOTE_USER = #{record.remoteUser,jdbcType=VARCHAR},
      </if>
      <if test="record.requestedSessionIdValid != null">
        REQUESTED_SESSION_ID_VALID = #{record.requestedSessionIdValid,jdbcType=DECIMAL},
      </if>
      <if test="record.secure != null">
        SECURE = #{record.secure,jdbcType=DECIMAL},
      </if>
      <if test="record.responseHeaderNames != null">
        RESPONSE_HEADER_NAMES = #{record.responseHeaderNames,jdbcType=VARCHAR},
      </if>
      <if test="record.responseCharacterEnconding != null">
        RESPONSE_CHARACTER_ENCONDING = #{record.responseCharacterEnconding,jdbcType=VARCHAR},
      </if>
      <if test="record.responseContentType != null">
        RESPONSE_CONTENT_TYPE = #{record.responseContentType,jdbcType=VARCHAR},
      </if>
      <if test="record.responseStatus != null">
        RESPONSE_STATUS = #{record.responseStatus,jdbcType=DECIMAL},
      </if>
      <if test="record.responseView != null">
        RESPONSE_VIEW = #{record.responseView,jdbcType=VARCHAR},
      </if>
      <if test="record.exceptionClass != null">
        EXCEPTION_CLASS = #{record.exceptionClass,jdbcType=VARCHAR},
      </if>
      <if test="record.exceptionMessage != null">
        EXCEPTION_MESSAGE = #{record.exceptionMessage,jdbcType=VARCHAR},
      </if>
      <if test="record.exceptionStackTrack != null">
        EXCEPTION_STACK_TRACK = #{record.exceptionStackTrack,jdbcType=VARCHAR},
      </if>
      <if test="record.jvmMaxMemory != null">
        JVM_MAX_MEMORY = #{record.jvmMaxMemory,jdbcType=DECIMAL},
      </if>
      <if test="record.jvmTotalMemory != null">
        JVM_TOTAL_MEMORY = #{record.jvmTotalMemory,jdbcType=DECIMAL},
      </if>
      <if test="record.jvmFreeMemory != null">
        JVM_FREE_MEMORY = #{record.jvmFreeMemory,jdbcType=DECIMAL},
      </if>
      <if test="record.jvmUserMemory != null">
        JVM_USER_MEMORY = #{record.jvmUserMemory,jdbcType=DECIMAL},
      </if>
      <if test="record.createDate != null">
        CREATE_DATE = #{record.createDate,jdbcType=TIMESTAMP},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    update TT_REQUEST_RESPONSE_LOG
    set REQUEST_ID = #{record.requestId,jdbcType=VARCHAR},
      BEGIN_TIME = #{record.beginTime,jdbcType=TIMESTAMP},
      END_TIME = #{record.endTime,jdbcType=TIMESTAMP},
      REQUEST_TIME = #{record.requestTime,jdbcType=DECIMAL},
      LOGIN_NAME = #{record.loginName,jdbcType=VARCHAR},
      SESSION_ID = #{record.sessionId,jdbcType=VARCHAR},
      SCHEME = #{record.scheme,jdbcType=VARCHAR},
      SERVER_NAME = #{record.serverName,jdbcType=VARCHAR},
      SERVER_PORT = #{record.serverPort,jdbcType=DECIMAL},
      REQUEST_URI = #{record.requestUri,jdbcType=VARCHAR},
      METHOD = #{record.method,jdbcType=VARCHAR},
      REQUEST_PARAMS = #{record.requestParams,jdbcType=VARCHAR},
      MOBILE_PAT = #{record.mobilePat,jdbcType=DECIMAL},
      AUTH_TYPE = #{record.authType,jdbcType=VARCHAR},
      CHARACTER_ENCODING = #{record.characterEncoding,jdbcType=VARCHAR},
      CONTENT_LENGTH = #{record.contentLength,jdbcType=DECIMAL},
      CONTENT_TYPE = #{record.contentType,jdbcType=VARCHAR},
      HEADER_NAMES = #{record.headerNames,jdbcType=VARCHAR},
      LOCAL_ADDR = #{record.localAddr,jdbcType=VARCHAR},
      LOCAL_NAME = #{record.localName,jdbcType=VARCHAR},
      LOCAL_PORT = #{record.localPort,jdbcType=DECIMAL},
      PATH_TRANSLATED = #{record.pathTranslated,jdbcType=VARCHAR},
      PROTOCOL = #{record.protocol,jdbcType=VARCHAR},
      REMOTE_ADDR = #{record.remoteAddr,jdbcType=VARCHAR},
      REMOTE_HOST = #{record.remoteHost,jdbcType=VARCHAR},
      REMOTE_PORT = #{record.remotePort,jdbcType=DECIMAL},
      REMOTE_USER = #{record.remoteUser,jdbcType=VARCHAR},
      REQUESTED_SESSION_ID_VALID = #{record.requestedSessionIdValid,jdbcType=DECIMAL},
      SECURE = #{record.secure,jdbcType=DECIMAL},
      RESPONSE_HEADER_NAMES = #{record.responseHeaderNames,jdbcType=VARCHAR},
      RESPONSE_CHARACTER_ENCONDING = #{record.responseCharacterEnconding,jdbcType=VARCHAR},
      RESPONSE_CONTENT_TYPE = #{record.responseContentType,jdbcType=VARCHAR},
      RESPONSE_STATUS = #{record.responseStatus,jdbcType=DECIMAL},
      RESPONSE_VIEW = #{record.responseView,jdbcType=VARCHAR},
      EXCEPTION_CLASS = #{record.exceptionClass,jdbcType=VARCHAR},
      EXCEPTION_MESSAGE = #{record.exceptionMessage,jdbcType=VARCHAR},
      EXCEPTION_STACK_TRACK = #{record.exceptionStackTrack,jdbcType=VARCHAR},
      JVM_MAX_MEMORY = #{record.jvmMaxMemory,jdbcType=DECIMAL},
      JVM_TOTAL_MEMORY = #{record.jvmTotalMemory,jdbcType=DECIMAL},
      JVM_FREE_MEMORY = #{record.jvmFreeMemory,jdbcType=DECIMAL},
      JVM_USER_MEMORY = #{record.jvmUserMemory,jdbcType=DECIMAL},
      CREATE_DATE = #{record.createDate,jdbcType=TIMESTAMP}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.llsfw.generator.model.standard.system.TtRequestResponseLog">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    update TT_REQUEST_RESPONSE_LOG
    <set>
      <if test="beginTime != null">
        BEGIN_TIME = #{beginTime,jdbcType=TIMESTAMP},
      </if>
      <if test="endTime != null">
        END_TIME = #{endTime,jdbcType=TIMESTAMP},
      </if>
      <if test="requestTime != null">
        REQUEST_TIME = #{requestTime,jdbcType=DECIMAL},
      </if>
      <if test="loginName != null">
        LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
      </if>
      <if test="sessionId != null">
        SESSION_ID = #{sessionId,jdbcType=VARCHAR},
      </if>
      <if test="scheme != null">
        SCHEME = #{scheme,jdbcType=VARCHAR},
      </if>
      <if test="serverName != null">
        SERVER_NAME = #{serverName,jdbcType=VARCHAR},
      </if>
      <if test="serverPort != null">
        SERVER_PORT = #{serverPort,jdbcType=DECIMAL},
      </if>
      <if test="requestUri != null">
        REQUEST_URI = #{requestUri,jdbcType=VARCHAR},
      </if>
      <if test="method != null">
        METHOD = #{method,jdbcType=VARCHAR},
      </if>
      <if test="requestParams != null">
        REQUEST_PARAMS = #{requestParams,jdbcType=VARCHAR},
      </if>
      <if test="mobilePat != null">
        MOBILE_PAT = #{mobilePat,jdbcType=DECIMAL},
      </if>
      <if test="authType != null">
        AUTH_TYPE = #{authType,jdbcType=VARCHAR},
      </if>
      <if test="characterEncoding != null">
        CHARACTER_ENCODING = #{characterEncoding,jdbcType=VARCHAR},
      </if>
      <if test="contentLength != null">
        CONTENT_LENGTH = #{contentLength,jdbcType=DECIMAL},
      </if>
      <if test="contentType != null">
        CONTENT_TYPE = #{contentType,jdbcType=VARCHAR},
      </if>
      <if test="headerNames != null">
        HEADER_NAMES = #{headerNames,jdbcType=VARCHAR},
      </if>
      <if test="localAddr != null">
        LOCAL_ADDR = #{localAddr,jdbcType=VARCHAR},
      </if>
      <if test="localName != null">
        LOCAL_NAME = #{localName,jdbcType=VARCHAR},
      </if>
      <if test="localPort != null">
        LOCAL_PORT = #{localPort,jdbcType=DECIMAL},
      </if>
      <if test="pathTranslated != null">
        PATH_TRANSLATED = #{pathTranslated,jdbcType=VARCHAR},
      </if>
      <if test="protocol != null">
        PROTOCOL = #{protocol,jdbcType=VARCHAR},
      </if>
      <if test="remoteAddr != null">
        REMOTE_ADDR = #{remoteAddr,jdbcType=VARCHAR},
      </if>
      <if test="remoteHost != null">
        REMOTE_HOST = #{remoteHost,jdbcType=VARCHAR},
      </if>
      <if test="remotePort != null">
        REMOTE_PORT = #{remotePort,jdbcType=DECIMAL},
      </if>
      <if test="remoteUser != null">
        REMOTE_USER = #{remoteUser,jdbcType=VARCHAR},
      </if>
      <if test="requestedSessionIdValid != null">
        REQUESTED_SESSION_ID_VALID = #{requestedSessionIdValid,jdbcType=DECIMAL},
      </if>
      <if test="secure != null">
        SECURE = #{secure,jdbcType=DECIMAL},
      </if>
      <if test="responseHeaderNames != null">
        RESPONSE_HEADER_NAMES = #{responseHeaderNames,jdbcType=VARCHAR},
      </if>
      <if test="responseCharacterEnconding != null">
        RESPONSE_CHARACTER_ENCONDING = #{responseCharacterEnconding,jdbcType=VARCHAR},
      </if>
      <if test="responseContentType != null">
        RESPONSE_CONTENT_TYPE = #{responseContentType,jdbcType=VARCHAR},
      </if>
      <if test="responseStatus != null">
        RESPONSE_STATUS = #{responseStatus,jdbcType=DECIMAL},
      </if>
      <if test="responseView != null">
        RESPONSE_VIEW = #{responseView,jdbcType=VARCHAR},
      </if>
      <if test="exceptionClass != null">
        EXCEPTION_CLASS = #{exceptionClass,jdbcType=VARCHAR},
      </if>
      <if test="exceptionMessage != null">
        EXCEPTION_MESSAGE = #{exceptionMessage,jdbcType=VARCHAR},
      </if>
      <if test="exceptionStackTrack != null">
        EXCEPTION_STACK_TRACK = #{exceptionStackTrack,jdbcType=VARCHAR},
      </if>
      <if test="jvmMaxMemory != null">
        JVM_MAX_MEMORY = #{jvmMaxMemory,jdbcType=DECIMAL},
      </if>
      <if test="jvmTotalMemory != null">
        JVM_TOTAL_MEMORY = #{jvmTotalMemory,jdbcType=DECIMAL},
      </if>
      <if test="jvmFreeMemory != null">
        JVM_FREE_MEMORY = #{jvmFreeMemory,jdbcType=DECIMAL},
      </if>
      <if test="jvmUserMemory != null">
        JVM_USER_MEMORY = #{jvmUserMemory,jdbcType=DECIMAL},
      </if>
      <if test="createDate != null">
        CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
      </if>
    </set>
    where REQUEST_ID = #{requestId,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.llsfw.generator.model.standard.system.TtRequestResponseLog">
    <!--
      WARNING - @mbggenerated
      This element is automatically generated by MyBatis Generator, do not modify.
      This element was generated on Fri Jan 15 16:04:44 CST 2016.
    -->
    update TT_REQUEST_RESPONSE_LOG
    set BEGIN_TIME = #{beginTime,jdbcType=TIMESTAMP},
      END_TIME = #{endTime,jdbcType=TIMESTAMP},
      REQUEST_TIME = #{requestTime,jdbcType=DECIMAL},
      LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
      SESSION_ID = #{sessionId,jdbcType=VARCHAR},
      SCHEME = #{scheme,jdbcType=VARCHAR},
      SERVER_NAME = #{serverName,jdbcType=VARCHAR},
      SERVER_PORT = #{serverPort,jdbcType=DECIMAL},
      REQUEST_URI = #{requestUri,jdbcType=VARCHAR},
      METHOD = #{method,jdbcType=VARCHAR},
      REQUEST_PARAMS = #{requestParams,jdbcType=VARCHAR},
      MOBILE_PAT = #{mobilePat,jdbcType=DECIMAL},
      AUTH_TYPE = #{authType,jdbcType=VARCHAR},
      CHARACTER_ENCODING = #{characterEncoding,jdbcType=VARCHAR},
      CONTENT_LENGTH = #{contentLength,jdbcType=DECIMAL},
      CONTENT_TYPE = #{contentType,jdbcType=VARCHAR},
      HEADER_NAMES = #{headerNames,jdbcType=VARCHAR},
      LOCAL_ADDR = #{localAddr,jdbcType=VARCHAR},
      LOCAL_NAME = #{localName,jdbcType=VARCHAR},
      LOCAL_PORT = #{localPort,jdbcType=DECIMAL},
      PATH_TRANSLATED = #{pathTranslated,jdbcType=VARCHAR},
      PROTOCOL = #{protocol,jdbcType=VARCHAR},
      REMOTE_ADDR = #{remoteAddr,jdbcType=VARCHAR},
      REMOTE_HOST = #{remoteHost,jdbcType=VARCHAR},
      REMOTE_PORT = #{remotePort,jdbcType=DECIMAL},
      REMOTE_USER = #{remoteUser,jdbcType=VARCHAR},
      REQUESTED_SESSION_ID_VALID = #{requestedSessionIdValid,jdbcType=DECIMAL},
      SECURE = #{secure,jdbcType=DECIMAL},
      RESPONSE_HEADER_NAMES = #{responseHeaderNames,jdbcType=VARCHAR},
      RESPONSE_CHARACTER_ENCONDING = #{responseCharacterEnconding,jdbcType=VARCHAR},
      RESPONSE_CONTENT_TYPE = #{responseContentType,jdbcType=VARCHAR},
      RESPONSE_STATUS = #{responseStatus,jdbcType=DECIMAL},
      RESPONSE_VIEW = #{responseView,jdbcType=VARCHAR},
      EXCEPTION_CLASS = #{exceptionClass,jdbcType=VARCHAR},
      EXCEPTION_MESSAGE = #{exceptionMessage,jdbcType=VARCHAR},
      EXCEPTION_STACK_TRACK = #{exceptionStackTrack,jdbcType=VARCHAR},
      JVM_MAX_MEMORY = #{jvmMaxMemory,jdbcType=DECIMAL},
      JVM_TOTAL_MEMORY = #{jvmTotalMemory,jdbcType=DECIMAL},
      JVM_FREE_MEMORY = #{jvmFreeMemory,jdbcType=DECIMAL},
      JVM_USER_MEMORY = #{jvmUserMemory,jdbcType=DECIMAL},
      CREATE_DATE = #{createDate,jdbcType=TIMESTAMP}
    where REQUEST_ID = #{requestId,jdbcType=VARCHAR}
  </update>
</mapper>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy