ExerciseStructMapper.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.ExerciseStructMapper">
  4. <resultMap id="BaseResultMap" type="com.qxgmat.data.dao.entity.ExerciseStruct">
  5. <!--
  6. WARNING - @mbg.generated
  7. -->
  8. <id column="id" jdbcType="INTEGER" property="id" />
  9. <result column="title_zh" jdbcType="VARCHAR" property="titleZh" />
  10. <result column="title_en" jdbcType="VARCHAR" property="titleEn" />
  11. <result column="parent_id" jdbcType="INTEGER" property="parentId" />
  12. <result column="sort" jdbcType="INTEGER" property="sort" />
  13. <result column="level" jdbcType="INTEGER" property="level" />
  14. <result column="question_status" jdbcType="INTEGER" property="questionStatus" />
  15. <result column="is_course" jdbcType="INTEGER" property="isCourse" />
  16. <result column="is_data" jdbcType="INTEGER" property="isData" />
  17. <result column="is_sentence" jdbcType="INTEGER" property="isSentence" />
  18. <result column="is_examination" jdbcType="INTEGER" property="isExamination" />
  19. <result column="extend" jdbcType="VARCHAR" property="extend" />
  20. </resultMap>
  21. <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.qxgmat.data.dao.entity.ExerciseStruct">
  22. <!--
  23. WARNING - @mbg.generated
  24. -->
  25. <result column="description" jdbcType="LONGVARCHAR" property="description" />
  26. </resultMap>
  27. <sql id="Base_Column_List">
  28. <!--
  29. WARNING - @mbg.generated
  30. -->
  31. `id`, `title_zh`, `title_en`, `parent_id`, `sort`, `level`, `question_status`, `is_course`,
  32. `is_data`, `is_sentence`, `is_examination`, `extend`
  33. </sql>
  34. <sql id="Blob_Column_List">
  35. <!--
  36. WARNING - @mbg.generated
  37. -->
  38. `description`
  39. </sql>
  40. </mapper>