Commit ec90850a by 吕明尚

自动任务增加提示

parent 99488c83
...@@ -245,6 +245,7 @@ public class OrderTask { ...@@ -245,6 +245,7 @@ public class OrderTask {
SOrder byOrderNo = orderService.getByOrderNo(String.valueOf(orderNo)); SOrder byOrderNo = orderService.getByOrderNo(String.valueOf(orderNo));
if (ObjectUtil.isEmpty(byOrderNo)) { if (ObjectUtil.isEmpty(byOrderNo)) {
redisUtil.delete(o); redisUtil.delete(o);
logger.info("订单号为:" + jsonObject.getStr("orderNo") + "的订单不存在");
return; return;
} }
//时间到期前10分钟到9分 //时间到期前10分钟到9分
...@@ -258,6 +259,7 @@ public class OrderTask { ...@@ -258,6 +259,7 @@ public class OrderTask {
// SStore sStore = storeService.getById(byOrderNo.getStoreId()); // SStore sStore = storeService.getById(byOrderNo.getStoreId());
// SRoom sRoom = roomService.getById(byOrderNo.getRoomId()); // SRoom sRoom = roomService.getById(byOrderNo.getRoomId());
// smsService.sendSmsOrderStartRemind(byOrderNo.getConsumerPhone(), sStore, sRoom); // smsService.sendSmsOrderStartRemind(byOrderNo.getConsumerPhone(), sStore, sRoom);
logger.info("订单号为:" + jsonObject.getStr("orderNo") + "的订单开始预定时间到15分钟");
return; return;
} }
if (expirationTime.getTime() < new Date().getTime()) { if (expirationTime.getTime() < new Date().getTime()) {
......
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