‘linchangsheng’ 2 days ago
parent
commit
067a4e7767

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

@@ -365,6 +365,7 @@ public class WorkerLogic {
                 .notIn(CollectionUtil.isNotEmpty(policyIds), Policy::getId, policyIds)
                 .gt(endTime != null, Policy::getEndTime,endTime)
                 .eq(Policy::getIsBuy, IsYesNoEnum.YES.getKey())
+                .eq(Policy::getType, "AC")
                 .le(Policy::getPolicyStartTime, new Date())
                 .ge(Policy::getEndTime, new Date())
                 .orderByAsc(Policy::getEndTime)