FaqMapper.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.FaqMapper">
  4. <resultMap id="BaseResultMap" type="com.qxgmat.data.dao.entity.Faq">
  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="email" jdbcType="VARCHAR" property="email" />
  11. <result column="message" jdbcType="INTEGER" property="message" />
  12. <result column="channel" jdbcType="VARCHAR" property="channel" />
  13. <result column="position" jdbcType="INTEGER" property="position" />
  14. <result column="manager_id" jdbcType="INTEGER" property="managerId" />
  15. <result column="is_show" jdbcType="INTEGER" property="isShow" />
  16. <result column="is_special" jdbcType="INTEGER" property="isSpecial" />
  17. <result column="answer_status" jdbcType="INTEGER" property="answerStatus" />
  18. <result column="answer_time" jdbcType="TIMESTAMP" property="answerTime" />
  19. <result column="is_system" jdbcType="INTEGER" property="isSystem" />
  20. <result column="sort" jdbcType="INTEGER" property="sort" />
  21. <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
  22. </resultMap>
  23. <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.qxgmat.data.dao.entity.Faq">
  24. <!--
  25. WARNING - @mbg.generated
  26. -->
  27. <result column="content" jdbcType="LONGVARCHAR" property="content" />
  28. <result column="answer" jdbcType="LONGVARCHAR" property="answer" />
  29. </resultMap>
  30. <sql id="Base_Column_List">
  31. <!--
  32. WARNING - @mbg.generated
  33. -->
  34. `id`, `user_id`, `email`, `message`, `channel`, `position`, `manager_id`, `is_show`,
  35. `is_special`, `answer_status`, `answer_time`, `is_system`, `sort`, `create_time`
  36. </sql>
  37. <sql id="Blob_Column_List">
  38. <!--
  39. WARNING - @mbg.generated
  40. -->
  41. `content`, `answer`
  42. </sql>
  43. </mapper>