Commit a621cfb6 by huluobin

商城订单超时关闭

parent 6f0ca4a8
......@@ -280,7 +280,7 @@ public class Schedule {
public void cancelPassMallOrder() {
log.debug("定时检查有无过期的商城订单** 任务开始");
Date passDate = new Date(new Date().getTime() - new Long("1800000"));
Long passDate = new Date().getTime() - new Long("1800000");
List<MallOrder> mallOrderList = mallOrderMapper.selectList(new LambdaQueryWrapper<MallOrder>()
.lt(MallOrder::getCreateTime, passDate)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment