Commit 85b4cca9 authored by 李松's avatar 李松

添加大屏登记证详情接口

parent 53086894
......@@ -583,9 +583,20 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
}
});
// 流水信息
List<Map<String, String>> list = operationRecord(sequenceNbr);
List<JgCertificateChangeRecord> changeRecordList = jgCertificateChangeRecordService.list(new LambdaQueryWrapper<JgCertificateChangeRecord>()
.eq(JgCertificateChangeRecord::getUseRegistrationCode, jgUseRegistrationManage.getUseRegistrationCode())
.or().eq(JgCertificateChangeRecord::getCertificateNo, jgUseRegistrationManage.getCertificateNo())
.orderByDesc(JgCertificateChangeRecord::getCreateDate));
List<Map<String, String>> collect = changeRecordList.stream()
.map(x -> {
Map<String, String> map = new HashMap<>();
map.put("operatingTime", simpleDateFormat.format(x.getRecDate()));
map.put("operater", x.getChangeContent());
map.put("label", simpleDateFormat.format(x.getRecDate()));
return map;
}).collect(Collectors.toList());
HashMap<String, Object> map = new HashMap<>();
map.put("datas", list);
map.put("datas", collect);
map.put("title", "使用登记证流水");
map.put("renderType", "timeline");
result.put("keyParams", jsonData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment