|
|
@@ -113,9 +113,9 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
lqw.orderByDesc(UserStudyRecord::getRecordId);
|
|
|
UserStudyRecord last = this.getOne(lqw.last("limit 1"));
|
|
|
if(Validator.isNotEmpty(last)&&last.getStatus()==0){
|
|
|
- return BeanUtil.toBean(last, UserStudyRecordVo.class);
|
|
|
+ last = null;
|
|
|
}
|
|
|
- return null;
|
|
|
+ return BeanUtil.toBean(last, UserStudyRecordVo.class);
|
|
|
}
|
|
|
|
|
|
@Override
|