Преглед на файлове

修改获取fileId逻辑

tianboguang преди 2 години
родител
ревизия
3c594132e1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/fdkankan/contro/controller/SceneFileController.java

+ 1 - 1
src/main/java/com/fdkankan/contro/controller/SceneFileController.java

@@ -133,7 +133,7 @@ public class SceneFileController{
         }
 
         sceneFileBuild = new SceneFileBuild();
-        sceneFileBuild.setChildName(dataSource.split("_")[0]);
+        sceneFileBuild.setChildName(folderName.split("_")[0]);
         sceneFileBuild.setFileId(fileId);
         sceneFileBuild.setRecStatus("A");
         sceneFileBuild.setUnicode(folderName);