Compare commits

...

2 Commits

Author SHA1 Message Date
even
a78308f1d0 多余代码删除 2025-06-10 09:52:41 +08:00
even
203241c7d6 取消注释 2025-06-10 09:51:22 +08:00
2 changed files with 2 additions and 3 deletions

View File

@ -141,7 +141,7 @@ public class MemoryLogManager implements LoggerManager {
if (!CollectionUtils.isEmpty(sseEmitters)) { if (!CollectionUtils.isEmpty(sseEmitters)) {
sseEmitters.forEach(ResponseBodyEmitter::complete); sseEmitters.forEach(ResponseBodyEmitter::complete);
} }
// logDao.updateById(pipTaskLog); logDao.updateById(pipTaskLog);
} else { } else {
// 不存在就新增 // 不存在就新增
PipTaskLog pipTaskLog = new PipTaskLog(); PipTaskLog pipTaskLog = new PipTaskLog();

View File

@ -85,8 +85,7 @@ public class ScaSbomWorker extends HttpWorker {
throw new ServiceException(GlobalErrorCodeConstants.INTERNAL_SERVER_ERROR.getCode(),"目标文件不存在"); throw new ServiceException(GlobalErrorCodeConstants.INTERNAL_SERVER_ERROR.getCode(),"目标文件不存在");
} }
TargetVersion targetVersion = targetVersionService.getById(pipeline.getTargetVersionId()); TargetVersion targetVersion = targetVersionService.getById(pipeline.getTargetVersionId());
// filePath = targetVersion.getFilePath(); filePath = targetVersion.getFilePath();
filePath = "C:\\Users\\admin\\Desktop\\新建文件夹\\dist.zip";
try { try {