GrasSysOperationLogMapper.xml 1.87 KB
<?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.funde.gras.oracle.mapper.GrasSysOperationLogMapper">
  <resultMap id="BaseResultMap" type="com.funde.gras.api.domain.GrasSysOperationLog">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <id column="USER_ID" jdbcType="VARCHAR" property="userId" />
    <result column="OPERATION" jdbcType="VARCHAR" property="operation" />
    <result column="OPERATION_DATE" jdbcType="TIMESTAMP" property="operationDate" />
    <result column="PK_SERIAL" jdbcType="VARCHAR" property="pkSerial" />
    <result column="UPDATED_DATE" jdbcType="TIMESTAMP" property="updatedDate" />
    <result column="UPDATED_USER" jdbcType="VARCHAR" property="updatedUser" />
    <result column="CREATED_USER" jdbcType="VARCHAR" property="createdUser" />
    <result column="CREATED_DATE" jdbcType="TIMESTAMP" property="createdDate" />
  </resultMap>
  <sql id="Column">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    USER_ID, OPERATION, OPERATION_DATE, PK_SERIAL, UPDATED_DATE,UPDATED_USER, CREATED_USER, CREATED_DATE, 
  </sql>

  <insert id="addGrasSysOperationLog" parameterType="com.funde.gras.api.domain.GrasSysOperationLog">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into gras_sys_operation_log (USER_ID,OPERATION,OPERATION_DATE, 
      PK_SERIAL,CREATED_USER,UPDATED_USER)
    values (#{userId,jdbcType=VARCHAR},#{operation,jdbcType=VARCHAR},#{operationDate,jdbcType=VARCHAR},
    #{pkSerial,jdbcType=VARCHAR},#{createdUser,jdbcType=VARCHAR},#{updatedUser,jdbcType=VARCHAR})
  </insert>
  

</mapper>