Commit 164d7cc2 authored by 周健威's avatar 周健威

修改bug

parent f7375d97
......@@ -425,6 +425,12 @@ public class OrderCancelBiz {
}});
if(null != specialRent ) {
//特惠租车 恢复排班记录
VehicleVO vehicle = vehicleFeign.getVehicleDetail(specialRent.getVehicleId()).getData();
Long delayTime = specialRentBiz.handleRent(specialRent, vehicle);
specialRent.setUpdTime(null);
specialRentBiz.updateSelectiveById(specialRent);
Integer status = SpecialRent.STATUS_AUTOCNL_TOPAY;
if(SYS_TRUE.equals(baseOrder.getHasPay())) {
//
......@@ -436,14 +442,10 @@ public class OrderCancelBiz {
setStatus(finalStatus);
setOrderStatus(SpecialRent.ORDER_STATUS_CANCEL);
}});
rabbitProduct.sendSpecialDelayMessage(specialRentBiz.selectById(specialRent.getId()), delayTime);
}
//特惠租车 恢复排班记录
VehicleVO vehicle = vehicleFeign.getVehicleDetail(specialRent.getVehicleId()).getData();
Long delayTime = specialRentBiz.handleRent(specialRent, vehicle);
specialRent.setUpdTime(null);
specialRentBiz.updateSelectiveById(specialRent);
rabbitProduct.sendSpecialDelayMessage(specialRentBiz.selectById(specialRent.getId()), delayTime);
}
}else if(OrderTypeEnum.TOUR.getCode().equals(baseOrder.getType())) {
......
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