Commit cf8363b9 authored by lining's avatar lining

feat: 订单超时时间毫秒->秒

parent 5590be32
......@@ -374,7 +374,7 @@ public class ServiceOrderBizService extends AbstractMapper<ServiceOrder> {
serviceOrderVO.setPrice(serviceOrder.getPrice());
// 剩余时间
if (serviceOrder.getOrderStatus().equals(ServiceOrderStatusEnum.SEND.getStatus())) {
long left = Math.max(serviceOrder.getCancelTime().getTime() - System.currentTimeMillis(), 0);
long left = Math.max(serviceOrder.getCancelTime().getTime() - System.currentTimeMillis(), 0) / 1000;
serviceOrderVO.setLeftTime(left);
}
......
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