|
@@ -553,7 +553,7 @@ public class PrintCommonServiceImpl implements PrintCommonService {
|
|
|
QueryWrapper<TCFinalScore> tcFinalScoreQueryWrapper = new QueryWrapper<>();
|
|
|
tcFinalScoreQueryWrapper.lambda().eq(TCFinalScore::getCultureProgramId, cultureProgramId)
|
|
|
.eq(TCFinalScore::getCourseId, courseId);
|
|
|
- if (tcUsualScoreService.count(tcUsualScoreQueryWrapper) > 0){
|
|
|
+ if (tcFinalScoreService.count(tcFinalScoreQueryWrapper) > 0){
|
|
|
throw ExceptionResultEnum.ERROR.exception("已导入期末成绩,无法删除");
|
|
|
}
|
|
|
}
|