Commit 8caeaad4a4e04d379b37cc2770967a554d23a853

Authored by 张志伟
1 parent cc1553c0

feature(*): 优化查询活动资格

- 优化查询活动资格
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/pub/PubStandBizService.java
... ... @@ -308,7 +308,7 @@ public class PubStandBizService {
308 308 ops.rightPush(id);
309 309 Date ashita = DateUtil.localDateTime2Date(LocalDate.now().plusDays(1).atStartOfDay().plusHours(1L));
310 310 final Boolean hasKey = redisTemplate.hasKey(key);
311   - if (!Boolean.TRUE.equals(hasKey)) {
  311 + if (Boolean.TRUE.equals(hasKey)) {
312 312 redisTemplate.expireAt(key, ashita);
313 313 }
314 314 }
... ...