正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
@@ -210,11 +210,13 @@ public class DispatchController { | @@ -210,11 +210,13 @@ public class DispatchController { | ||
210 | * 设置车辆状态,为空闲状态("1") | 210 | * 设置车辆状态,为空闲状态("1") |
211 | * 设置车辆,开始空闲时间 | 211 | * 设置车辆,开始空闲时间 |
212 | * 将调度记录表的状态修改为撤销(取消)状态("3") | 212 | * 将调度记录表的状态修改为撤销(取消)状态("3") |
213 | + * 为调度记录表设置完成时间 | ||
213 | */ | 214 | */ |
214 | vehicleInfo.setVehicleStatus("1"); | 215 | vehicleInfo.setVehicleStatus("1"); |
215 | vehicleInfo.setFreetime(new Date()); | 216 | vehicleInfo.setFreetime(new Date()); |
216 | vehicleInfoService.updateByPrimaryKeySelective(vehicleInfo); | 217 | vehicleInfoService.updateByPrimaryKeySelective(vehicleInfo); |
217 | req.setStatus("3"); | 218 | req.setStatus("3"); |
219 | + req.setEndTime(new Date()); | ||
218 | dispatchNoteService.updateByPrimaryKeySelective(req); | 220 | dispatchNoteService.updateByPrimaryKeySelective(req); |
219 | result.setMsg("该调度车辆,已经取消"); | 221 | result.setMsg("该调度车辆,已经取消"); |
220 | } else { | 222 | } else { |
-
请 注册 或 登录 后发表评论