新增会员填充加入会员时间

userInfo增加 储值和优惠卷数 字段
This commit is contained in:
2024-09-25 17:59:01 +08:00
parent e532174124
commit e17e2e5d60
6 changed files with 46 additions and 1 deletions

View File

@@ -429,6 +429,10 @@
select * from tb_shop_user where user_id=#{userId} and is_vip = 1
</select>
<select id="countAmount" resultType="BigDecimal">
select sum(amount) from tb_shop_user where user_id=#{userId} and is_vip = 1
</select>
<select id="selectByOpenId" resultType="com.chaozhanggui.system.cashierservice.entity.TbShopUser">
select * from tb_shop_user where mini_open_id = #{openId}
</select>