mirror of
https://github.com/201206030/novel-plus.git
synced 2025-04-27 01:30:51 +00:00
9 lines
345 B
Java
9 lines
345 B
Java
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.java2nb.novel.mapper.FrontNewsMapper">
|
|
<update id="addReadCount">
|
|
update news set read_count = read_count + 1
|
|
where id = #{newsId}
|
|
</update>
|
|
</mapper> |