UserAskQuestionMapper.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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.UserAskQuestionMapper">
  4. <resultMap id="BaseResultMap" type="com.qxgmat.data.dao.entity.UserAskQuestion">
  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="user_question_id" jdbcType="INTEGER" property="userQuestionId" />
  11. <result column="ask_module" jdbcType="VARCHAR" property="askModule" />
  12. <result column="question_module" jdbcType="VARCHAR" property="questionModule" />
  13. <result column="question_id" jdbcType="INTEGER" property="questionId" />
  14. <result column="question_no_id" jdbcType="INTEGER" property="questionNoId" />
  15. <result column="record_id" jdbcType="INTEGER" property="recordId" />
  16. <result column="target" jdbcType="VARCHAR" property="target" />
  17. <result column="ask_time" jdbcType="INTEGER" property="askTime" />
  18. <result column="expire_time" jdbcType="TIMESTAMP" property="expireTime" />
  19. <result column="answer_status" jdbcType="INTEGER" property="answerStatus" />
  20. <result column="manager_id" jdbcType="INTEGER" property="managerId" />
  21. <result column="show_status" jdbcType="INTEGER" property="showStatus" />
  22. <result column="answer_time" jdbcType="TIMESTAMP" property="answerTime" />
  23. <result column="sort" jdbcType="INTEGER" property="sort" />
  24. <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
  25. <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
  26. </resultMap>
  27. <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.qxgmat.data.dao.entity.UserAskQuestion">
  28. <!--
  29. WARNING - @mbg.generated
  30. -->
  31. <result column="origin_content" jdbcType="LONGVARCHAR" property="originContent" />
  32. <result column="content" jdbcType="LONGVARCHAR" property="content" />
  33. <result column="answer" jdbcType="LONGVARCHAR" property="answer" />
  34. </resultMap>
  35. <sql id="Base_Column_List">
  36. <!--
  37. WARNING - @mbg.generated
  38. -->
  39. `id`, `user_id`, `user_question_id`, `ask_module`, `question_module`, `question_id`,
  40. `question_no_id`, `record_id`, `target`, `ask_time`, `expire_time`, `answer_status`,
  41. `manager_id`, `show_status`, `answer_time`, `sort`, `create_time`, `update_time`
  42. </sql>
  43. <sql id="Blob_Column_List">
  44. <!--
  45. WARNING - @mbg.generated
  46. -->
  47. `origin_content`, `content`, `answer`
  48. </sql>
  49. </mapper>