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