|
@@ -547,6 +547,10 @@ public class ImportDataController extends BaseController {
|
|
|
sceneEntity.setSceneName(sceneName);
|
|
|
sceneEntity.setUserId(userId);
|
|
|
sceneService.save(sceneEntity);
|
|
|
+ } else {
|
|
|
+ sceneEntity.setSceneName(sceneName);
|
|
|
+ sceneEntity.setUserId(userId);
|
|
|
+ sceneService.updateById(sceneEntity);
|
|
|
}
|
|
|
JSONObject entryJson = new JSONObject();
|
|
|
if (StrUtil.isEmpty(entry)) {
|