ExercisePaperMapper.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.ExercisePaperMapper">
  4. <resultMap id="BaseResultMap" type="com.qxgmat.data.dao.entity.ExercisePaper">
  5. <!--
  6. WARNING - @mbg.generated
  7. -->
  8. <id column="id" jdbcType="INTEGER" property="id" />
  9. <result column="type" jdbcType="VARCHAR" property="type" />
  10. <result column="logic" jdbcType="VARCHAR" property="logic" />
  11. <result column="logic_extend" jdbcType="VARCHAR" property="logicExtend" />
  12. <result column="struct_id" jdbcType="INTEGER" property="structId" />
  13. <result column="struct_parent" jdbcType="VARCHAR" property="structParent" typeHandler="com.nuliji.tools.mybatis.handler.IntegerArrayHandler" />
  14. <result column="title" jdbcType="VARCHAR" property="title" />
  15. <result column="question_number" jdbcType="INTEGER" property="questionNumber" />
  16. <result column="status" jdbcType="INTEGER" property="status" />
  17. </resultMap>
  18. <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.qxgmat.data.dao.entity.ExercisePaper">
  19. <!--
  20. WARNING - @mbg.generated
  21. -->
  22. <result column="question_no_ids" jdbcType="LONGVARCHAR" property="questionNoIds" />
  23. </resultMap>
  24. <sql id="Base_Column_List">
  25. <!--
  26. WARNING - @mbg.generated
  27. -->
  28. `id`, `type`, `logic`, `logic_extend`, `struct_id`, `struct_parent`, `title`, `question_number`,
  29. `status`
  30. </sql>
  31. <sql id="Blob_Column_List">
  32. <!--
  33. WARNING - @mbg.generated
  34. -->
  35. `question_no_ids`
  36. </sql>
  37. </mapper>