소스 검색

Merge remote-tracking branch 'origin/master'

allen 1 년 전
부모
커밋
93014603e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pdaaphm-admin/src/main/java/com/pdaaphm/biz/service/impl/RunPythonImpl.java

+ 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;
     }