积分模块相关代码
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user