From 9486766c806fe1d9e082b2fd02ea1cc558f1b443 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 08 五月 2025 09:21:57 +0800
Subject: [PATCH] bug修改

---
 cloud-server-activity/src/main/java/com/dsh/activity/service/impl/CouponServiceImpl.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cloud-server-activity/src/main/java/com/dsh/activity/service/impl/CouponServiceImpl.java b/cloud-server-activity/src/main/java/com/dsh/activity/service/impl/CouponServiceImpl.java
index bb77904..24c8dc4 100644
--- a/cloud-server-activity/src/main/java/com/dsh/activity/service/impl/CouponServiceImpl.java
+++ b/cloud-server-activity/src/main/java/com/dsh/activity/service/impl/CouponServiceImpl.java
@@ -68,11 +68,11 @@
     public List<CouponListVo> queryCouponList(Integer uid, Integer distributionMethod) throws Exception {
         String value = redisUtil.getValue("VIP_P_" + uid);
         if (ToolUtil.isEmpty(value)) {
-            Thread.sleep(5000);
+            Thread.sleep(3000);
             value = redisUtil.getValue("VIP_P_" + uid);
         }
         List<CouponListVo> listVos = new ArrayList<>();
-        if (ToolUtil.isEmpty(value)) {
+        if (ToolUtil.isNotEmpty(value)) {
             List<Long> longs = JSON.parseArray(value, Long.class);
             List<UserCoupon> list = userCouponService.getBaseMapper().selectBatchIds(longs);
             List<Integer> collect = list.stream().map(UserCoupon::getCouponId).collect(Collectors.toList());
@@ -141,8 +141,8 @@
     }
 
     @Override
-    public List<Map<String, Object>> listRecord(Page<Object> objectPage, Integer id, List<Integer> ids, Integer type) {
-        return this.baseMapper.listRecord(objectPage, id, ids, type);
+    public List<Map<String, Object>> listRecord(Integer id, List<Integer> ids, Integer type) {
+        return this.baseMapper.listRecord(id, ids, type);
     }
 
     @Override

--
Gitblit v1.7.1