...
|
...
|
@@ -93,10 +93,12 @@ public class DispatchNoteController { |
|
|
ResultJson<DispatchNote> result = new ResultJson<>();
|
|
|
/**
|
|
|
* 如果调度记录为执行状态("2")
|
|
|
* 如果调度记录为待执行状态("4")
|
|
|
* 则将对应车辆的状态,修改为空闲状态("1"),并设置开始空闲时间
|
|
|
*/
|
|
|
String status = "2";
|
|
|
if (status.equals(dispatchNote.getStatus())) {
|
|
|
String status2 = "2";
|
|
|
String status4 = "4";
|
|
|
if (status2.equals(dispatchNote.getStatus()) || status4.equals(dispatchNote.getStatus())) {
|
|
|
String licensePlateNumber = dispatchNote.getLicensePlateNumber();
|
|
|
//根据车牌号查询到车辆信息
|
|
|
VehicleInfo vehicleInfo = vehicleInfoService.selectByLPN(licensePlateNumber);
|
...
|
...
|
|