Преглед изворни кода

Merge remote-tracking branch 'origin/master'

allen пре 1 година
родитељ
комит
93014603e2

+ 1 - 1
pdaaphm-admin/src/main/java/com/pdaaphm/biz/service/impl/RunPythonImpl.java

@@ -108,7 +108,6 @@ public class RunPythonImpl implements RunAlgorithmService {
                 subAlgorithm.setUploadId(resultFile.getId());
                 subAlgorithm.setCreateTime(DateUtils.getNowDate());
                 subAlgorithmMapper.updateSubAlgorithm(subAlgorithm);
-                redisLogService.info("TASK-"+ id, "执行算法完成......");
             }
             else {
                 logger.error("输出文件未生成!");
@@ -116,6 +115,7 @@ public class RunPythonImpl implements RunAlgorithmService {
                 // update algorithm
             }
         }
+        redisLogService.info("TASK-"+ id, "执行算法完成......");
         return res;
     }