From e8be4745004520068664cef95a450de0557aa153 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 20 Nov 2025 18:22:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=A3=E8=AA=89=E5=88=97=E8=A1=A8=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/command/material/query/UserBadgeTableQryExe.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/material/query/UserBadgeTableQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/material/query/UserBadgeTableQryExe.java index 783682e5..39b2d361 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/material/query/UserBadgeTableQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/material/query/UserBadgeTableQryExe.java @@ -112,6 +112,10 @@ public class UserBadgeTableQryExe { } private Long getBadgeExpireTime(BadgeBackpack badgeBackpack) { + if (Objects.isNull(badgeBackpack)) { + return null; + } + return Objects.equals(badgeBackpack.getExpireType(), BadgeBackpackExpireType.PERMANENT.name()) ? TimestampUtils.nowPlusYear(10).getTime() : badgeBackpack.getExpireTime().getTime();