处理study接口,studyitemid返回值为空的问题

This commit is contained in:
zhaolongfei
2024-08-15 19:44:23 +08:00
parent 7fe53c026e
commit 731e62c89f

View File

@@ -102,7 +102,7 @@ public class StudyServiceImpl implements IStudyService{
dto.setStudyItemId(sci.getId());
}else {
log.info("学习记录id不能为空"+sci.getId());
throw new IllegalArgumentException("学习记录id不能为空");
throw new IllegalArgumentException("学习记录插入失败");
}
//检查是否全部学习完成
scDao.finishCheck(dto.getStudyId(),dto.getCourseId(),dto.getContentTotal(),token);