MessageFromBusinessMapper.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  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.goafanti.common.dao.MessageFromBusinessMapper">
  4. <resultMap id="BaseResultMap" type="com.goafanti.common.model.MessageFromBusiness">
  5. <!--
  6. WARNING - @mbg.generated
  7. This element is automatically generated by MyBatis Generator, do not modify.
  8. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  9. -->
  10. <id column="id" jdbcType="VARCHAR" property="id" />
  11. <result column="creater" jdbcType="VARCHAR" property="creater" />
  12. <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
  13. <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
  14. <result column="sponsor_id" jdbcType="VARCHAR" property="sponsorId" />
  15. <result column="sponsor_type" jdbcType="INTEGER" property="sponsorType" />
  16. <result column="sponsor_read" jdbcType="BIT" property="sponsorRead" />
  17. <result column="sponsor_read_time" jdbcType="TIMESTAMP" property="sponsorReadTime" />
  18. <result column="resource_id" jdbcType="VARCHAR" property="resourceId" />
  19. <result column="resource_type" jdbcType="INTEGER" property="resourceType" />
  20. <result column="resource_owner_id" jdbcType="VARCHAR" property="resourceOwnerId" />
  21. <result column="resource_owner_type" jdbcType="INTEGER" property="resourceOwnerType" />
  22. <result column="resource_owner_read" jdbcType="BIT" property="resourceOwnerRead" />
  23. <result column="resource_owner_read_time" jdbcType="TIMESTAMP" property="resourceOwnerReadTime" />
  24. <result column="admin_id" jdbcType="VARCHAR" property="adminId" />
  25. <result column="admin_read_time" jdbcType="TIMESTAMP" property="adminReadTime" />
  26. <result column="operator_type" jdbcType="INTEGER" property="operatorType" />
  27. <result column="operator_result" jdbcType="VARCHAR" property="operatorResult" />
  28. <result column="title" jdbcType="VARCHAR" property="title" />
  29. <result column="body" jdbcType="VARCHAR" property="body" />
  30. </resultMap>
  31. <sql id="Example_Where_Clause">
  32. <!--
  33. WARNING - @mbg.generated
  34. This element is automatically generated by MyBatis Generator, do not modify.
  35. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  36. -->
  37. <where>
  38. <foreach collection="oredCriteria" item="criteria" separator="or">
  39. <if test="criteria.valid">
  40. <trim prefix="(" prefixOverrides="and" suffix=")">
  41. <foreach collection="criteria.criteria" item="criterion">
  42. <choose>
  43. <when test="criterion.noValue">
  44. and ${criterion.condition}
  45. </when>
  46. <when test="criterion.singleValue">
  47. and ${criterion.condition} #{criterion.value}
  48. </when>
  49. <when test="criterion.betweenValue">
  50. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  51. </when>
  52. <when test="criterion.listValue">
  53. and ${criterion.condition}
  54. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  55. #{listItem}
  56. </foreach>
  57. </when>
  58. </choose>
  59. </foreach>
  60. </trim>
  61. </if>
  62. </foreach>
  63. </where>
  64. </sql>
  65. <sql id="Update_By_Example_Where_Clause">
  66. <!--
  67. WARNING - @mbg.generated
  68. This element is automatically generated by MyBatis Generator, do not modify.
  69. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  70. -->
  71. <where>
  72. <foreach collection="example.oredCriteria" item="criteria" separator="or">
  73. <if test="criteria.valid">
  74. <trim prefix="(" prefixOverrides="and" suffix=")">
  75. <foreach collection="criteria.criteria" item="criterion">
  76. <choose>
  77. <when test="criterion.noValue">
  78. and ${criterion.condition}
  79. </when>
  80. <when test="criterion.singleValue">
  81. and ${criterion.condition} #{criterion.value}
  82. </when>
  83. <when test="criterion.betweenValue">
  84. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  85. </when>
  86. <when test="criterion.listValue">
  87. and ${criterion.condition}
  88. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  89. #{listItem}
  90. </foreach>
  91. </when>
  92. </choose>
  93. </foreach>
  94. </trim>
  95. </if>
  96. </foreach>
  97. </where>
  98. </sql>
  99. <sql id="Base_Column_List">
  100. <!--
  101. WARNING - @mbg.generated
  102. This element is automatically generated by MyBatis Generator, do not modify.
  103. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  104. -->
  105. id, creater, create_time, update_time, sponsor_id, sponsor_type, sponsor_read, sponsor_read_time,
  106. resource_id, resource_type, resource_owner_id, resource_owner_type, resource_owner_read,
  107. resource_owner_read_time, admin_id, admin_read_time, operator_type, operator_result,
  108. title, body
  109. </sql>
  110. <select id="selectByExample" parameterType="com.goafanti.common.model.MessageFromBusinessExample" resultMap="BaseResultMap">
  111. <!--
  112. WARNING - @mbg.generated
  113. This element is automatically generated by MyBatis Generator, do not modify.
  114. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  115. -->
  116. select
  117. <if test="distinct">
  118. distinct
  119. </if>
  120. <include refid="Base_Column_List" />
  121. from message_from_business
  122. <if test="_parameter != null">
  123. <include refid="Example_Where_Clause" />
  124. </if>
  125. <if test="orderByClause != null">
  126. order by ${orderByClause}
  127. </if>
  128. </select>
  129. <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
  130. <!--
  131. WARNING - @mbg.generated
  132. This element is automatically generated by MyBatis Generator, do not modify.
  133. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  134. -->
  135. select
  136. <include refid="Base_Column_List" />
  137. from message_from_business
  138. where id = #{id,jdbcType=VARCHAR}
  139. </select>
  140. <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
  141. <!--
  142. WARNING - @mbg.generated
  143. This element is automatically generated by MyBatis Generator, do not modify.
  144. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  145. -->
  146. delete from message_from_business
  147. where id = #{id,jdbcType=VARCHAR}
  148. </delete>
  149. <delete id="deleteByExample" parameterType="com.goafanti.common.model.MessageFromBusinessExample">
  150. <!--
  151. WARNING - @mbg.generated
  152. This element is automatically generated by MyBatis Generator, do not modify.
  153. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  154. -->
  155. delete from message_from_business
  156. <if test="_parameter != null">
  157. <include refid="Example_Where_Clause" />
  158. </if>
  159. </delete>
  160. <insert id="insert" parameterType="com.goafanti.common.model.MessageFromBusiness">
  161. <!--
  162. WARNING - @mbg.generated
  163. This element is automatically generated by MyBatis Generator, do not modify.
  164. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  165. -->
  166. insert into message_from_business (id, creater, create_time,
  167. update_time, sponsor_id, sponsor_type,
  168. sponsor_read, sponsor_read_time, resource_id,
  169. resource_type, resource_owner_id, resource_owner_type,
  170. resource_owner_read, resource_owner_read_time,
  171. admin_id, admin_read_time, operator_type,
  172. operator_result, title, body
  173. )
  174. values (#{id,jdbcType=VARCHAR}, #{creater,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
  175. #{updateTime,jdbcType=TIMESTAMP}, #{sponsorId,jdbcType=VARCHAR}, #{sponsorType,jdbcType=INTEGER},
  176. #{sponsorRead,jdbcType=BIT}, #{sponsorReadTime,jdbcType=TIMESTAMP}, #{resourceId,jdbcType=VARCHAR},
  177. #{resourceType,jdbcType=INTEGER}, #{resourceOwnerId,jdbcType=VARCHAR}, #{resourceOwnerType,jdbcType=INTEGER},
  178. #{resourceOwnerRead,jdbcType=BIT}, #{resourceOwnerReadTime,jdbcType=TIMESTAMP},
  179. #{adminId,jdbcType=VARCHAR}, #{adminReadTime,jdbcType=TIMESTAMP}, #{operatorType,jdbcType=INTEGER},
  180. #{operatorResult,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{body,jdbcType=VARCHAR}
  181. )
  182. </insert>
  183. <insert id="insertSelective" parameterType="com.goafanti.common.model.MessageFromBusiness">
  184. <!--
  185. WARNING - @mbg.generated
  186. This element is automatically generated by MyBatis Generator, do not modify.
  187. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  188. -->
  189. insert into message_from_business
  190. <trim prefix="(" suffix=")" suffixOverrides=",">
  191. <if test="id != null">
  192. id,
  193. </if>
  194. <if test="creater != null">
  195. creater,
  196. </if>
  197. <if test="createTime != null">
  198. create_time,
  199. </if>
  200. <if test="updateTime != null">
  201. update_time,
  202. </if>
  203. <if test="sponsorId != null">
  204. sponsor_id,
  205. </if>
  206. <if test="sponsorType != null">
  207. sponsor_type,
  208. </if>
  209. <if test="sponsorRead != null">
  210. sponsor_read,
  211. </if>
  212. <if test="sponsorReadTime != null">
  213. sponsor_read_time,
  214. </if>
  215. <if test="resourceId != null">
  216. resource_id,
  217. </if>
  218. <if test="resourceType != null">
  219. resource_type,
  220. </if>
  221. <if test="resourceOwnerId != null">
  222. resource_owner_id,
  223. </if>
  224. <if test="resourceOwnerType != null">
  225. resource_owner_type,
  226. </if>
  227. <if test="resourceOwnerRead != null">
  228. resource_owner_read,
  229. </if>
  230. <if test="resourceOwnerReadTime != null">
  231. resource_owner_read_time,
  232. </if>
  233. <if test="adminId != null">
  234. admin_id,
  235. </if>
  236. <if test="adminReadTime != null">
  237. admin_read_time,
  238. </if>
  239. <if test="operatorType != null">
  240. operator_type,
  241. </if>
  242. <if test="operatorResult != null">
  243. operator_result,
  244. </if>
  245. <if test="title != null">
  246. title,
  247. </if>
  248. <if test="body != null">
  249. body,
  250. </if>
  251. </trim>
  252. <trim prefix="values (" suffix=")" suffixOverrides=",">
  253. <if test="id != null">
  254. #{id,jdbcType=VARCHAR},
  255. </if>
  256. <if test="creater != null">
  257. #{creater,jdbcType=VARCHAR},
  258. </if>
  259. <if test="createTime != null">
  260. #{createTime,jdbcType=TIMESTAMP},
  261. </if>
  262. <if test="updateTime != null">
  263. #{updateTime,jdbcType=TIMESTAMP},
  264. </if>
  265. <if test="sponsorId != null">
  266. #{sponsorId,jdbcType=VARCHAR},
  267. </if>
  268. <if test="sponsorType != null">
  269. #{sponsorType,jdbcType=INTEGER},
  270. </if>
  271. <if test="sponsorRead != null">
  272. #{sponsorRead,jdbcType=BIT},
  273. </if>
  274. <if test="sponsorReadTime != null">
  275. #{sponsorReadTime,jdbcType=TIMESTAMP},
  276. </if>
  277. <if test="resourceId != null">
  278. #{resourceId,jdbcType=VARCHAR},
  279. </if>
  280. <if test="resourceType != null">
  281. #{resourceType,jdbcType=INTEGER},
  282. </if>
  283. <if test="resourceOwnerId != null">
  284. #{resourceOwnerId,jdbcType=VARCHAR},
  285. </if>
  286. <if test="resourceOwnerType != null">
  287. #{resourceOwnerType,jdbcType=INTEGER},
  288. </if>
  289. <if test="resourceOwnerRead != null">
  290. #{resourceOwnerRead,jdbcType=BIT},
  291. </if>
  292. <if test="resourceOwnerReadTime != null">
  293. #{resourceOwnerReadTime,jdbcType=TIMESTAMP},
  294. </if>
  295. <if test="adminId != null">
  296. #{adminId,jdbcType=VARCHAR},
  297. </if>
  298. <if test="adminReadTime != null">
  299. #{adminReadTime,jdbcType=TIMESTAMP},
  300. </if>
  301. <if test="operatorType != null">
  302. #{operatorType,jdbcType=INTEGER},
  303. </if>
  304. <if test="operatorResult != null">
  305. #{operatorResult,jdbcType=VARCHAR},
  306. </if>
  307. <if test="title != null">
  308. #{title,jdbcType=VARCHAR},
  309. </if>
  310. <if test="body != null">
  311. #{body,jdbcType=VARCHAR},
  312. </if>
  313. </trim>
  314. </insert>
  315. <select id="countByExample" parameterType="com.goafanti.common.model.MessageFromBusinessExample" resultType="java.lang.Long">
  316. <!--
  317. WARNING - @mbg.generated
  318. This element is automatically generated by MyBatis Generator, do not modify.
  319. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  320. -->
  321. select count(*) from message_from_business
  322. <if test="_parameter != null">
  323. <include refid="Example_Where_Clause" />
  324. </if>
  325. </select>
  326. <update id="updateByExampleSelective" parameterType="map">
  327. <!--
  328. WARNING - @mbg.generated
  329. This element is automatically generated by MyBatis Generator, do not modify.
  330. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  331. -->
  332. update message_from_business
  333. <set>
  334. <if test="record.id != null">
  335. id = #{record.id,jdbcType=VARCHAR},
  336. </if>
  337. <if test="record.creater != null">
  338. creater = #{record.creater,jdbcType=VARCHAR},
  339. </if>
  340. <if test="record.createTime != null">
  341. create_time = #{record.createTime,jdbcType=TIMESTAMP},
  342. </if>
  343. <if test="record.updateTime != null">
  344. update_time = #{record.updateTime,jdbcType=TIMESTAMP},
  345. </if>
  346. <if test="record.sponsorId != null">
  347. sponsor_id = #{record.sponsorId,jdbcType=VARCHAR},
  348. </if>
  349. <if test="record.sponsorType != null">
  350. sponsor_type = #{record.sponsorType,jdbcType=INTEGER},
  351. </if>
  352. <if test="record.sponsorRead != null">
  353. sponsor_read = #{record.sponsorRead,jdbcType=BIT},
  354. </if>
  355. <if test="record.sponsorReadTime != null">
  356. sponsor_read_time = #{record.sponsorReadTime,jdbcType=TIMESTAMP},
  357. </if>
  358. <if test="record.resourceId != null">
  359. resource_id = #{record.resourceId,jdbcType=VARCHAR},
  360. </if>
  361. <if test="record.resourceType != null">
  362. resource_type = #{record.resourceType,jdbcType=INTEGER},
  363. </if>
  364. <if test="record.resourceOwnerId != null">
  365. resource_owner_id = #{record.resourceOwnerId,jdbcType=VARCHAR},
  366. </if>
  367. <if test="record.resourceOwnerType != null">
  368. resource_owner_type = #{record.resourceOwnerType,jdbcType=INTEGER},
  369. </if>
  370. <if test="record.resourceOwnerRead != null">
  371. resource_owner_read = #{record.resourceOwnerRead,jdbcType=BIT},
  372. </if>
  373. <if test="record.resourceOwnerReadTime != null">
  374. resource_owner_read_time = #{record.resourceOwnerReadTime,jdbcType=TIMESTAMP},
  375. </if>
  376. <if test="record.adminId != null">
  377. admin_id = #{record.adminId,jdbcType=VARCHAR},
  378. </if>
  379. <if test="record.adminReadTime != null">
  380. admin_read_time = #{record.adminReadTime,jdbcType=TIMESTAMP},
  381. </if>
  382. <if test="record.operatorType != null">
  383. operator_type = #{record.operatorType,jdbcType=INTEGER},
  384. </if>
  385. <if test="record.operatorResult != null">
  386. operator_result = #{record.operatorResult,jdbcType=VARCHAR},
  387. </if>
  388. <if test="record.title != null">
  389. title = #{record.title,jdbcType=VARCHAR},
  390. </if>
  391. <if test="record.body != null">
  392. body = #{record.body,jdbcType=VARCHAR},
  393. </if>
  394. </set>
  395. <if test="_parameter != null">
  396. <include refid="Update_By_Example_Where_Clause" />
  397. </if>
  398. </update>
  399. <update id="updateByExample" parameterType="map">
  400. <!--
  401. WARNING - @mbg.generated
  402. This element is automatically generated by MyBatis Generator, do not modify.
  403. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  404. -->
  405. update message_from_business
  406. set id = #{record.id,jdbcType=VARCHAR},
  407. creater = #{record.creater,jdbcType=VARCHAR},
  408. create_time = #{record.createTime,jdbcType=TIMESTAMP},
  409. update_time = #{record.updateTime,jdbcType=TIMESTAMP},
  410. sponsor_id = #{record.sponsorId,jdbcType=VARCHAR},
  411. sponsor_type = #{record.sponsorType,jdbcType=INTEGER},
  412. sponsor_read = #{record.sponsorRead,jdbcType=BIT},
  413. sponsor_read_time = #{record.sponsorReadTime,jdbcType=TIMESTAMP},
  414. resource_id = #{record.resourceId,jdbcType=VARCHAR},
  415. resource_type = #{record.resourceType,jdbcType=INTEGER},
  416. resource_owner_id = #{record.resourceOwnerId,jdbcType=VARCHAR},
  417. resource_owner_type = #{record.resourceOwnerType,jdbcType=INTEGER},
  418. resource_owner_read = #{record.resourceOwnerRead,jdbcType=BIT},
  419. resource_owner_read_time = #{record.resourceOwnerReadTime,jdbcType=TIMESTAMP},
  420. admin_id = #{record.adminId,jdbcType=VARCHAR},
  421. admin_read_time = #{record.adminReadTime,jdbcType=TIMESTAMP},
  422. operator_type = #{record.operatorType,jdbcType=INTEGER},
  423. operator_result = #{record.operatorResult,jdbcType=VARCHAR},
  424. title = #{record.title,jdbcType=VARCHAR},
  425. body = #{record.body,jdbcType=VARCHAR}
  426. <if test="_parameter != null">
  427. <include refid="Update_By_Example_Where_Clause" />
  428. </if>
  429. </update>
  430. <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.MessageFromBusiness">
  431. <!--
  432. WARNING - @mbg.generated
  433. This element is automatically generated by MyBatis Generator, do not modify.
  434. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  435. -->
  436. update message_from_business
  437. <set>
  438. <if test="creater != null">
  439. creater = #{creater,jdbcType=VARCHAR},
  440. </if>
  441. <if test="createTime != null">
  442. create_time = #{createTime,jdbcType=TIMESTAMP},
  443. </if>
  444. <if test="updateTime != null">
  445. update_time = #{updateTime,jdbcType=TIMESTAMP},
  446. </if>
  447. <if test="sponsorId != null">
  448. sponsor_id = #{sponsorId,jdbcType=VARCHAR},
  449. </if>
  450. <if test="sponsorType != null">
  451. sponsor_type = #{sponsorType,jdbcType=INTEGER},
  452. </if>
  453. <if test="sponsorRead != null">
  454. sponsor_read = #{sponsorRead,jdbcType=BIT},
  455. </if>
  456. <if test="sponsorReadTime != null">
  457. sponsor_read_time = #{sponsorReadTime,jdbcType=TIMESTAMP},
  458. </if>
  459. <if test="resourceId != null">
  460. resource_id = #{resourceId,jdbcType=VARCHAR},
  461. </if>
  462. <if test="resourceType != null">
  463. resource_type = #{resourceType,jdbcType=INTEGER},
  464. </if>
  465. <if test="resourceOwnerId != null">
  466. resource_owner_id = #{resourceOwnerId,jdbcType=VARCHAR},
  467. </if>
  468. <if test="resourceOwnerType != null">
  469. resource_owner_type = #{resourceOwnerType,jdbcType=INTEGER},
  470. </if>
  471. <if test="resourceOwnerRead != null">
  472. resource_owner_read = #{resourceOwnerRead,jdbcType=BIT},
  473. </if>
  474. <if test="resourceOwnerReadTime != null">
  475. resource_owner_read_time = #{resourceOwnerReadTime,jdbcType=TIMESTAMP},
  476. </if>
  477. <if test="adminId != null">
  478. admin_id = #{adminId,jdbcType=VARCHAR},
  479. </if>
  480. <if test="adminReadTime != null">
  481. admin_read_time = #{adminReadTime,jdbcType=TIMESTAMP},
  482. </if>
  483. <if test="operatorType != null">
  484. operator_type = #{operatorType,jdbcType=INTEGER},
  485. </if>
  486. <if test="operatorResult != null">
  487. operator_result = #{operatorResult,jdbcType=VARCHAR},
  488. </if>
  489. <if test="title != null">
  490. title = #{title,jdbcType=VARCHAR},
  491. </if>
  492. <if test="body != null">
  493. body = #{body,jdbcType=VARCHAR},
  494. </if>
  495. </set>
  496. where id = #{id,jdbcType=VARCHAR}
  497. </update>
  498. <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.MessageFromBusiness">
  499. <!--
  500. WARNING - @mbg.generated
  501. This element is automatically generated by MyBatis Generator, do not modify.
  502. This element was generated on Mon Dec 25 18:55:04 CST 2017.
  503. -->
  504. update message_from_business
  505. set creater = #{creater,jdbcType=VARCHAR},
  506. create_time = #{createTime,jdbcType=TIMESTAMP},
  507. update_time = #{updateTime,jdbcType=TIMESTAMP},
  508. sponsor_id = #{sponsorId,jdbcType=VARCHAR},
  509. sponsor_type = #{sponsorType,jdbcType=INTEGER},
  510. sponsor_read = #{sponsorRead,jdbcType=BIT},
  511. sponsor_read_time = #{sponsorReadTime,jdbcType=TIMESTAMP},
  512. resource_id = #{resourceId,jdbcType=VARCHAR},
  513. resource_type = #{resourceType,jdbcType=INTEGER},
  514. resource_owner_id = #{resourceOwnerId,jdbcType=VARCHAR},
  515. resource_owner_type = #{resourceOwnerType,jdbcType=INTEGER},
  516. resource_owner_read = #{resourceOwnerRead,jdbcType=BIT},
  517. resource_owner_read_time = #{resourceOwnerReadTime,jdbcType=TIMESTAMP},
  518. admin_id = #{adminId,jdbcType=VARCHAR},
  519. admin_read_time = #{adminReadTime,jdbcType=TIMESTAMP},
  520. operator_type = #{operatorType,jdbcType=INTEGER},
  521. operator_result = #{operatorResult,jdbcType=VARCHAR},
  522. title = #{title,jdbcType=VARCHAR},
  523. body = #{body,jdbcType=VARCHAR}
  524. where id = #{id,jdbcType=VARCHAR}
  525. </update>
  526. </mapper>