...
|
...
|
@@ -210,11 +210,13 @@ public class DispatchController { |
|
|
* 设置车辆状态,为空闲状态("1")
|
|
|
* 设置车辆,开始空闲时间
|
|
|
* 将调度记录表的状态修改为撤销(取消)状态("3")
|
|
|
* 为调度记录表设置完成时间
|
|
|
*/
|
|
|
vehicleInfo.setVehicleStatus("1");
|
|
|
vehicleInfo.setFreetime(new Date());
|
|
|
vehicleInfoService.updateByPrimaryKeySelective(vehicleInfo);
|
|
|
req.setStatus("3");
|
|
|
req.setEndTime(new Date());
|
|
|
dispatchNoteService.updateByPrimaryKeySelective(req);
|
|
|
result.setMsg("该调度车辆,已经取消");
|
|
|
} else {
|
...
|
...
|
|