Commit ff5b867f by 杨林龙

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

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