|
@@ -21,6 +21,7 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import java.util.Set;
|
|
|
|
|
@@ -295,6 +296,16 @@ public class SceneServiceImpl extends IBaseServiceImpl<SceneEntity, Long> implem
|
|
|
//处理data.js 文件
|
|
|
editDataJs(entity, hots);
|
|
|
|
|
|
+ // 更新场景名称
|
|
|
+// String name = someDataJson.getString("name");
|
|
|
+// String sceneTitle = entity.getSceneTitle();
|
|
|
+// if (!sceneTitle.equals(name)) {
|
|
|
+// entity.setSceneTitle(name);
|
|
|
+// entity.setUpdateTime(new Date());
|
|
|
+// this.update(entity);
|
|
|
+// }
|
|
|
+
|
|
|
+
|
|
|
return Result.success();
|
|
|
}
|
|
|
|