CrawlerVideoMapper.xml 23 KB

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