SysLogMapper.xml 1.0 KB

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.zhgd.scs.mapper.SysLogMapper">
  6. <resultMap id="BaseResultMap" type="com.zhgd.scs.domain.SysLog">
  7. <id property="id" column="id" jdbcType="BIGINT"/>
  8. <result property="module" column="module" jdbcType="VARCHAR"/>
  9. <result property="method" column="method" jdbcType="VARCHAR"/>
  10. <result property="time" column="time" jdbcType="TIMESTAMP"/>
  11. <result property="userId" column="user_id" jdbcType="BIGINT"/>
  12. <result property="realName" column="real_name" jdbcType="VARCHAR"/>
  13. <result property="ip" column="ip" jdbcType="VARCHAR"/>
  14. <result property="state" column="state" jdbcType="INTEGER"/>
  15. <result property="username" column="username" jdbcType="VARCHAR"/>
  16. <result property="methodName" column="method_name" jdbcType="VARCHAR"/>
  17. </resultMap>
  18. </mapper>