|
@@ -157,9 +157,6 @@ public class ExamRecordEntityConvert {
|
|
|
|
|
|
|
|
|
|
public List<ExamRecordInfo> of(List<ExamRecordDataEntity> entities) {
|
|
public List<ExamRecordInfo> of(List<ExamRecordDataEntity> entities) {
|
|
- if (entities==null || entities.isEmpty()){
|
|
|
|
- return new ArrayList<ExamRecordInfo>();
|
|
|
|
- }
|
|
|
|
//缓存
|
|
//缓存
|
|
Map<String,Object> cahcheMap = new HashMap<String, Object>();
|
|
Map<String,Object> cahcheMap = new HashMap<String, Object>();
|
|
List<ExamRecordInfo> list = entities.stream().map(entity -> of(entity,cahcheMap)).collect(Collectors.toList());
|
|
List<ExamRecordInfo> list = entities.stream().map(entity -> of(entity,cahcheMap)).collect(Collectors.toList());
|