|
@@ -881,7 +881,9 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
|
|
|
|
private SectionStudyRecordVo mergeToData(UserBankRecord bankVo){
|
|
|
SectionStudyRecordVo vo = BeanUtil.toBean(bankVo, SectionStudyRecordVo.class);
|
|
|
- vo.setLearning((long)bankVo.getReportStatus());
|
|
|
+ if(Validator.isNotEmpty(bankVo.getReportStatus())){
|
|
|
+ vo.setLearning((long)bankVo.getReportStatus());
|
|
|
+ }
|
|
|
vo.setExamType(bankVo.getType());
|
|
|
return vo;
|
|
|
}
|