From 6cbc4882fa152b0c59612bd47fd99bec4522d5f4 Mon Sep 17 00:00:00 2001 From: shahaibo <1023316923@qq.com> Date: Wed, 10 Jul 2024 09:49:41 +0800 Subject: [PATCH] =?UTF-8?q?BUGFIX:=E9=97=AE=E5=8D=B7=E8=B0=83=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ai/da/service/impl/AccountServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java b/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java index 2e2dbc3d..c6376ee0 100644 --- a/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/AccountServiceImpl.java @@ -1234,7 +1234,7 @@ public class AccountServiceImpl extends ServiceImpl impl creditsService.save(creditsDetail); // 3.3、更新 t_account 表 - if (account.getValidEndTime() < 1720972799000L){ + if (account.getValidEndTime() != null && account.getValidEndTime() < 1720972799000L){ updateCreditsAndEndTime(account.getId(), added.toString(), 1720972799000L); } }