Commit ff5b867f by 杨林龙

回退优化假性离线车辆状态同步逻辑

1 parent 52249e80
......@@ -86,8 +86,7 @@ public class FakeOfficeService {
}
}
// 只有进围栏的时候 根据设备号填充车辆的家庭地址和工作地址
if (FakeOfficeEnum.IN_FENCE.getStatus().equals(fakeOfflineFenceSnDto.getStatus())) {
// 根据设备号填充车辆的家庭地址和工作地址
FakeOfflineVin fakeOfflineVin = fakeOfflineVinMapper.getFakeOfflineVinBy(vehicle.getVin());
if (fakeOfflineVin == null) {
fakeOfflineVin = new FakeOfflineVin();
......@@ -110,7 +109,6 @@ public class FakeOfficeService {
fakeOfflineVinMapper.updateByPrimaryKeySelective(fakeOfflineVin);
}
}
}
/**
* 通过设备号获取绑定车辆的 createBy
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!