mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-07 18:06:50 +08:00
处理study接口,studyitemid返回值为空的问题
This commit is contained in:
@@ -102,7 +102,7 @@ public class StudyServiceImpl implements IStudyService{
|
|||||||
dto.setStudyItemId(sci.getId());
|
dto.setStudyItemId(sci.getId());
|
||||||
}else {
|
}else {
|
||||||
log.info("学习记录id不能为空"+sci.getId());
|
log.info("学习记录id不能为空"+sci.getId());
|
||||||
throw new IllegalArgumentException("学习记录id不能为空");
|
throw new IllegalArgumentException("学习记录插入失败");
|
||||||
}
|
}
|
||||||
//检查是否全部学习完成
|
//检查是否全部学习完成
|
||||||
scDao.finishCheck(dto.getStudyId(),dto.getCourseId(),dto.getContentTotal(),token);
|
scDao.finishCheck(dto.getStudyId(),dto.getCourseId(),dto.getContentTotal(),token);
|
||||||
|
|||||||
Reference in New Issue
Block a user