集成elasticsearch搜索引擎

This commit is contained in:
xiongxiaoyang
2020-05-20 18:08:29 +08:00
parent 4aa6b82143
commit 8a628f081f
14 changed files with 564 additions and 21 deletions

View File

@ -34,8 +34,9 @@
</select>
<update id="addVisitCount" parameterType="long">
update book set visit_count = visit_count + 1 where id = #{bookId}
<update id="addVisitCount" >
update book set visit_count = visit_count + 1 , update_time = #{date}
where id = #{bookId}
</update>
<select id="listRecBookByCatId" parameterType="int" resultType="com.java2nb.novel.entity.Book">