|
@@ -106,7 +106,7 @@ public class ExamRecordDataServiceImpl implements ExamRecordDataService {
|
|
|
@Override
|
|
|
public void saveExamRecordDataCache(Long examRecordDataId, ExamRecordData data) {
|
|
|
String key = RedisKeyHelper.getBuilder().examRecordDataKey(examRecordDataId);
|
|
|
- redisClient.set(key, data, -1);
|
|
|
+ redisClient.set(key, data, 2592000);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -124,7 +124,7 @@ public class ExamRecordDataServiceImpl implements ExamRecordDataService {
|
|
|
private ExamRecordData of(ExamRecordDataEntity et) {
|
|
|
ExamRecordData bean = new ExamRecordData();
|
|
|
bean.setId(et.getId());
|
|
|
- bean.setExamId(et.getId());
|
|
|
+ bean.setExamId(et.getExamId());
|
|
|
bean.setExamType(et.getExamType());
|
|
|
|
|
|
bean.setExamStudentId(et.getExamStudentId());
|