|
@@ -114,7 +114,13 @@ public class SceneListener {
|
|
|
workEntity.setAlgorithmTime(param.getAlgorithmTime());
|
|
|
workEntity.setCalcStatus(0);
|
|
|
workService.update(workEntity);
|
|
|
-
|
|
|
+ //清理旧数据
|
|
|
+ List<ScenePanoEntity> list = scenePanoService.findByWorkId(workEntity.getId());
|
|
|
+ for (ScenePanoEntity scenePanoEntity : list) {
|
|
|
+ scenePanoEntity.setIsDelete(1);
|
|
|
+ scenePanoEntity.setUpdateTime(new Date());
|
|
|
+ scenePanoService.update(scenePanoEntity);
|
|
|
+ }
|
|
|
|
|
|
String visionUrl = "http://4dkk.4dage.com/scene_view_data/"+param.getSceneCode()+"/images/vision.txt";
|
|
|
HttpResponse execute = HttpRequest.get(visionUrl+"?m="+System.currentTimeMillis()).execute();
|