‘linchangsheng’ 1 週間 前
コミット
cdcefe3e2a

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

@@ -856,6 +856,7 @@ public class WorkerLogic {
                 .notIn(CollectionUtil.isEmpty(policyOrderList) && CollectionUtil.isNotEmpty(policyOrders), Policy::getId, policyIds)
                 .eq(Policy::getIsBuy, IsYesNoEnum.YES.getKey())
                 .le(Policy::getPolicyStartTime, new Date())
+                .eq(Policy::getType, "DS")
                 .ge(Policy::getEndTime, notEmpty?policyOrderList.get(0).getEndTime():new Date())
                 .in(Policy::getId, policyWebsits.stream().map(PolicyWebsit::getPolicyId).collect(Collectors.toList()))
                 .orderByAsc(Policy::getEndTime)