|
|
|
@ -68,7 +68,7 @@ public class KnowledgePointApplicationServiceImpl implements KnowledgePointAppli |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("文件解析失败:{}", fileMap.get(id).getOriginalFilename(), e); |
|
|
|
//更新资料状态
|
|
|
|
updateStatuInformation(null,InformationParseStatusEnum.Fail.getValue(),id); |
|
|
|
updateStatuInformation(null,InformationParseStatusEnum.Success.getValue(),id); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -108,7 +108,7 @@ public class KnowledgePointApplicationServiceImpl implements KnowledgePointAppli |
|
|
|
}else{ |
|
|
|
log.error("获取知识点失败:{}", "不存在知识点"); |
|
|
|
//更新状态
|
|
|
|
updateStatuInformation(null,InformationParseStatusEnum.Fail.getValue(),id); |
|
|
|
updateStatuInformation(null,InformationParseStatusEnum.Success.getValue(),id); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|