记得上下班打卡 | git大法好,push需谨慎

Commit e79b2059 authored by jiangxiulong's avatar jiangxiulong

领券更新缓存

parent d3e470a0
......@@ -345,8 +345,6 @@ public class SweetIntegralActivityDrawServiceImpl extends ServiceImpl<SweetInteg
queueUtils.sendMsgByRedis(MQConst.SweetQueue.SWEET_INTEGRAL_ACTIVITY_DRAW.getKey(),
SqlMapping.gets(sqlsB, sqlsDataB));
// 更新缓存
redisDataUtils.delIntegralActivityDrawList(drawVo.getIntegralActivityId(), uid);
redisDataUtils.updateIntegralActivityDrawInfo(drawId);
mongoTemplate.getCollection(IntegralActivityDrawVo.class.getSimpleName()).updateOne(
......@@ -354,6 +352,8 @@ public class SweetIntegralActivityDrawServiceImpl extends ServiceImpl<SweetInteg
new Document("$set", new Document("receivingStatus", 2)
.append("updatedAt", DateUtil.Formatter.yyyyMMddHHmmss.format(LocalDateTime.now())))
);
redisDataUtils.delIntegralActivityDrawList(drawVo.getIntegralActivityId(), uid);
}
return ResponseDto.success();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment