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

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

@@ -37,6 +37,9 @@ public interface TbActivateInRecordMapper {
int queryByVipIdAndShopIdAndProId(@Param("vipUserId") Integer vipUserId, @Param("shopId") Integer shopId,@Param("productId") Integer productId);
List<TbActivateInRecord> queryAllByVipIdAndShopIdAndProId(@Param("vipUserId") Integer vipUserId, @Param("shopId") Integer shopId,@Param("productId") Integer productId);
int countCouponNum(@Param("userId") Integer userId);
/**
* 新增数据
*

View File

@@ -7,6 +7,7 @@ import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
@@ -32,6 +33,8 @@ public interface TbShopUserMapper {
TbShopUser selectByPhoneAndShopId(@Param("phone") String phone,@Param("shopId") String shopId);
TbShopUser selectPCByPhoneAndShopId(@Param("phone") String phone,@Param("shopId") String shopId);
List<TbShopUser> selectAllByUserId(@Param("userId") String userId);
List<TbShopUser> selectVipByUserId(@Param("userId") Integer userId);
BigDecimal countAmount(@Param("userId") Integer userId);
List<ShopUserListVo> selectByUserId(@Param("userId") String userId, @Param("shopId") String shopId);