diff --git a/src/main/java/com/softeng/dingtalk/service/PaperService.java b/src/main/java/com/softeng/dingtalk/service/PaperService.java index c86f3e1b..f55a8fea 100644 --- a/src/main/java/com/softeng/dingtalk/service/PaperService.java +++ b/src/main/java/com/softeng/dingtalk/service/PaperService.java @@ -259,10 +259,10 @@ public void calculateInternalPaperAc(InternalPaper internalPaper) { log.info("论文没有处在计算ac的状态"); return; } - if(internalPaper.hasAccepted() && !internalPaper.hasCompleteFile()) { - log.info("论文文件不完整,无法生成ac"); - return; - } +// if(internalPaper.hasAccepted() && !internalPaper.hasCompleteFile()) { +// log.info("论文文件不完整,无法生成ac"); +// return; +// } // 1. 获取 paperDetails log.info("获取 paperDetails"); var paperDetails = internalPaper.getPaperDetails(); @@ -283,7 +283,6 @@ public void calculateInternalPaperAc(InternalPaper internalPaper) { // 4. 更新 paperDetail 对应的 AcRecord log.info("更新 paperDetail 对应的 AcRecord"); paperDetails.forEach(paperDetail -> { - log.info("更新ac值为:"+ calculateAc(internalPaper, sum, paperDetail.getNum())); paperDetail.setAcRecord(new AcRecord( paperDetail.getUser(), null,