ManageMapper.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132
  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="boot.modules.manage.mapper.ManageMapper">
  6. <resultMap id="BaseResultMap" type="boot.modules.manage.pojo.Manage">
  7. <id property="id" column="id" jdbcType="BIGINT"/>
  8. <result property="avatarId" column="avatar_id" jdbcType="BIGINT"/>
  9. <result property="email" column="email" jdbcType="VARCHAR"/>
  10. <result property="enabled" column="enabled" jdbcType="BIGINT"/>
  11. <result property="password" column="password" jdbcType="VARCHAR"/>
  12. <result property="username" column="username" jdbcType="VARCHAR"/>
  13. <result property="deptId" column="dept_id" jdbcType="BIGINT"/>
  14. <result property="phone" column="phone" jdbcType="VARCHAR"/>
  15. <result property="jobId" column="job_id" jdbcType="BIGINT"/>
  16. <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
  17. <result property="lastPasswordResetTime" column="last_password_reset_time" jdbcType="TIMESTAMP"/>
  18. <result property="nickName" column="nick_name" jdbcType="VARCHAR"/>
  19. <result property="sex" column="sex" jdbcType="VARCHAR"/>
  20. <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
  21. <result property="isDel" column="is_del" jdbcType="TINYINT"/>
  22. </resultMap>
  23. <sql id="Base_Column_List">
  24. id,avatar_id,email,
  25. enabled,password,username,
  26. dept_id,phone,job_id,
  27. create_time,last_password_reset_time,nick_name,
  28. sex,update_time,is_del
  29. </sql>
  30. </mapper>