改成十分钟国企
This commit is contained in:
1 parent
32e7466615
commit
ed738d3da6
1 file changed
+1
-1
@@ -19,7 +19,7 @@ public class PaymentOrderExpireTask {
|
||||
LambdaQueryWrapper<UsdtOrdersPlus> query = new LambdaQueryWrapper<UsdtOrdersPlus>()
|
||||
.eq(UsdtOrdersPlus::getStatus, 1)
|
||||
.isNotNull(UsdtOrdersPlus::getCreatedAt)
|
||||
.lt(UsdtOrdersPlus::getCreatedAt, new Date(System.currentTimeMillis() - 30 * 60 * 1000L));
|
||||
.lt(UsdtOrdersPlus::getCreatedAt, new Date(System.currentTimeMillis() - 10 * 60 * 1000L));
|
||||
for (UsdtOrdersPlus order : orders.list(query)) {
|
||||
order.setStatus(3L);
|
||||
order.setUpdatedAt(new Date());
|
||||
|
||||
Reference in new issue
Block a user