点击量计算优化

This commit is contained in:
xxy
2020-05-26 02:10:37 +08:00
parent 16447c60ec
commit 430504ee28
7 changed files with 19 additions and 24 deletions

View File

@ -35,7 +35,7 @@
</select>
<update id="addVisitCount" >
update book set visit_count = visit_count + 1
update book set visit_count = visit_count + ${visitCount}
where id = #{bookId}
</update>