‘linchangsheng’ 6 dni temu
rodzic
commit
21c5794a88

+ 1 - 0
mall-miniapp-service/src/main/java/com/gree/mall/miniapp/logic/policy/WorkerLogic.java

@@ -787,6 +787,7 @@ public class WorkerLogic {
 
         Policy policy = policyService.lambdaQuery()
                 .eq(Policy::getType, "DS")
+                .ge(Policy::getEndTime, new Date())
                 .orderByDesc(Policy::getEndTime)
                 .last("limit 1").one();
         if (policy == null)