mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 19:29:52 +08:00
update 后管订单详情页
This commit is contained in:
@@ -449,7 +449,9 @@ public class OrderService {
|
|||||||
String dateTime = lastMonitorData.getDateTime();
|
String dateTime = lastMonitorData.getDateTime();
|
||||||
if (DateUtils.intervalTime(dateTime, DateUtils.getDateTime()) > 2L) {
|
if (DateUtils.intervalTime(dateTime, DateUtils.getDateTime()) > 2L) {
|
||||||
// 间隔时间超过2分钟, 订单状态修改为异常
|
// 间隔时间超过2分钟, 订单状态修改为异常
|
||||||
|
orderBasicInfo.setOrderStatus(OrderStatusEnum.ABNORMAL.getValue());
|
||||||
|
orderBasicInfo.setReason("充电桩长时间没有上传实时数据");
|
||||||
|
orderBasicInfoService.updateOrderBasicInfo(orderBasicInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user