UserPaperMapper.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.qxgmat.data.dao.UserPaperMapper">
  4. <resultMap id="BaseResultMap" type="com.qxgmat.data.dao.entity.UserPaper">
  5. <!--
  6. WARNING - @mbg.generated
  7. -->
  8. <id column="id" jdbcType="INTEGER" property="id" />
  9. <result column="user_id" jdbcType="INTEGER" property="userId" />
  10. <result column="title" jdbcType="VARCHAR" property="title" />
  11. <result column="module" jdbcType="VARCHAR" property="module" />
  12. <result column="module_id" jdbcType="INTEGER" property="moduleId" />
  13. <result column="number" jdbcType="INTEGER" property="number" />
  14. <result column="time" jdbcType="INTEGER" property="time" />
  15. </resultMap>
  16. <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.qxgmat.data.dao.entity.UserPaper">
  17. <!--
  18. WARNING - @mbg.generated
  19. -->
  20. <result column="question_no_ids" jdbcType="LONGVARCHAR" property="questionNoIds" />
  21. </resultMap>
  22. <sql id="Base_Column_List">
  23. <!--
  24. WARNING - @mbg.generated
  25. -->
  26. `id`, `user_id`, `title`, `module`, `module_id`, `number`, `time`
  27. </sql>
  28. <sql id="Blob_Column_List">
  29. <!--
  30. WARNING - @mbg.generated
  31. -->
  32. `question_no_ids`
  33. </sql>
  34. </mapper>