UserAskCourseMapper.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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.UserAskCourseMapper">
  4. <resultMap id="BaseResultMap" type="com.qxgmat.data.dao.entity.UserAskCourse">
  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="course_id" jdbcType="INTEGER" property="courseId" />
  11. <result column="course_no_id" jdbcType="INTEGER" property="courseNoId" />
  12. <result column="record_id" jdbcType="INTEGER" property="recordId" />
  13. <result column="position" jdbcType="VARCHAR" property="position" />
  14. <result column="ask_time" jdbcType="INTEGER" property="askTime" />
  15. <result column="expire_time" jdbcType="TIMESTAMP" property="expireTime" />
  16. <result column="answer_status" jdbcType="INTEGER" property="answerStatus" />
  17. <result column="manager_id" jdbcType="INTEGER" property="managerId" />
  18. <result column="show_status" jdbcType="INTEGER" property="showStatus" />
  19. <result column="answer_time" jdbcType="TIMESTAMP" property="answerTime" />
  20. <result column="sort" jdbcType="INTEGER" property="sort" />
  21. <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
  22. <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
  23. </resultMap>
  24. <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.qxgmat.data.dao.entity.UserAskCourse">
  25. <!--
  26. WARNING - @mbg.generated
  27. -->
  28. <result column="content" jdbcType="LONGVARCHAR" property="content" />
  29. <result column="answer" jdbcType="LONGVARCHAR" property="answer" />
  30. </resultMap>
  31. <sql id="Base_Column_List">
  32. <!--
  33. WARNING - @mbg.generated
  34. -->
  35. `id`, `user_id`, `course_id`, `course_no_id`, `record_id`, `position`, `ask_time`,
  36. `expire_time`, `answer_status`, `manager_id`, `show_status`, `answer_time`, `sort`,
  37. `create_time`, `update_time`
  38. </sql>
  39. <sql id="Blob_Column_List">
  40. <!--
  41. WARNING - @mbg.generated
  42. -->
  43. `content`, `answer`
  44. </sql>
  45. </mapper>