allen 1 жил өмнө
parent
commit
ce0a53a330

+ 2 - 2
taais-modules/taais-biz/src/main/java/com/taais/biz/service/impl/AlgorithmBizProcessServiceImpl.java

@@ -205,12 +205,12 @@ public class AlgorithmBizProcessServiceImpl extends BaseServiceImpl<AlgorithmBiz
             resultDto.getAgNameList().add(BizConstant.ORIGINAL_IMAGE);
             AlgorithmBizProcessVo bizProcessVo = bizProcessVoList.get(0);
             fileNames = FileUtils.getAllFileNamesAndExtensions(TaaisConfig.getProfile() + bizProcessVo.getPreprocessPath());
-            String resultPath = bizProcessVo.getResultPath();
+            String preprocessPath = bizProcessVo.getPreprocessPath();
             if (!CollectionUtils.isEmpty(fileNames)) {
                 for (String name : fileNames) {
                     List<String> list = new TreeList<>();
                     resultDto.getResultList().add(list);
-                    list.add(resultPath + name);
+                    list.add(preprocessPath + name);
                 }
             }
         }