oil-station/fuintBackend/fuint-repository/src/main/resources/mapper/MtArticleMapper.xml

8 lines
348 B
XML
Raw Normal View History

2024-08-16 18:26:19 +08:00
<?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.fuint.repository.mapper.MtArticleMapper">
<update id="increaseClick">
update mt_article t set t.CLICK = t.CLICK + 1 where t.ID = #{articleId}
</update>
</mapper>