积分模块相关代码

This commit is contained in:
谭凯凯
2024-11-04 16:32:00 +08:00
committed by Tankaikai
parent af5c1e2e4a
commit a7569f99ba
6 changed files with 35 additions and 1 deletions

View File

@@ -3,4 +3,7 @@
<mapper namespace="com.chaozhanggui.system.cashierservice.mapper.TbMemberPointsMapper">
<select id="totalMemberPointsByUserId" resultType="java.lang.Integer">
select IFNULL(sum(account_points),0) from tb_shop_user where user_id = #{userId}
</select>
</mapper>