|
@@ -118,6 +118,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
lqw.eq(bo.getSectionId() != null, UserStudyRecord::getSectionId, bo.getSectionId());
|
|
|
lqw.eq(bo.getGoodsId() != null, UserStudyRecord::getGoodsId, bo.getGoodsId());
|
|
|
lqw.eq(bo.getModuleId() != null, UserStudyRecord::getModuleId, bo.getModuleId());
|
|
|
+ lqw.eq(bo.getChapterId() != null, UserStudyRecord::getChapterId, bo.getChapterId());
|
|
|
lqw.eq(bo.getGradeId() != null, UserStudyRecord::getGradeId, bo.getGradeId());
|
|
|
UserStudyRecord last = this.getOne(lqw.ge(UserStudyRecord::getFirstStartTime,0).last("limit 1"));
|
|
|
if(Validator.isEmpty(last)){
|