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

This commit is contained in:
zhaolongfei
2024-08-15 19:26:10 +08:00
parent 6492e3b0dd
commit 7fe53c026e

View File

@@ -101,6 +101,7 @@ public class StudyServiceImpl implements IStudyService{
if (sci.getId() != null){
dto.setStudyItemId(sci.getId());
}else {
log.info("学习记录id不能为空"+sci.getId());
throw new IllegalArgumentException("学习记录id不能为空");
}
//检查是否全部学习完成