From 1931c705521b3b41a85e04fc7f98728442a0aff7 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 22 May 2026 10:56:39 +0800 Subject: [PATCH] =?UTF-8?q?aslan=20=E5=B9=B8=E8=BF=90=E7=A4=BC=E7=89=A9?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=20=E6=94=B9=E6=88=90=E6=AF=8F=E6=97=A5?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/command/gift/LuckyGiftGiveCmdExe.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/gift/LuckyGiftGiveCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/gift/LuckyGiftGiveCmdExe.java index 3eca5705..062d8b0d 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/gift/LuckyGiftGiveCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/gift/LuckyGiftGiveCmdExe.java @@ -91,10 +91,12 @@ public class LuckyGiftGiveCmdExe { userProfileGateway.removeCache(cmd.requiredReqUserId()); // 检查是否未完成任务 - Boolean taskStatus = taskService.checkTaskStatus(cmd.getReqUserId(), 8L, null); + String nowed = LocalDateTimeUtils.nowFormat("yyyy-MM-dd"); + Boolean taskStatus = taskService.checkTaskStatus(cmd.getReqUserId(), 8L, nowed); if (taskStatus) { taskMqMessage.sendTask(TaskApprovalEvent.builder() .taskId(8) + .day(nowed) .quantity(cmd.getQuantity()) .userId(cmd.getReqUserId()) .build());