## 报单赠送推送时间修改补订单逻辑

This commit is contained in:
zhangheng 2025-10-23 11:42:07 +08:00
parent afd797c8f1
commit 7f670ee2f5
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class AcTourismServiceProvider implements IAcTourismServiceApi {
.or()
.nested(x -> x.eq(SaOrder::getOrderType, EOrderType.REPURCHASE_ORDER.getValue())
.eq(SaOrder::getOrderTypeExtend, 1)))
.apply("TRUNC(PAY_TIME) >= TRUNC(SYSDATE - {0})", daysAgo)
.apply("TRUNC(PAY_TIME) BETWEEN TRUNC(SYSDATE - {0}) AND TRUNC(SYSDATE - 7)", daysAgo)
.eq(SaOrder::getOrderStatus, 1)
.eq(SaOrder::getDelFlag, 0)
);