修改ID主键使用uuid
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
yudao-ui-admin CI / build (14.x) (push) Has been cancelled
yudao-ui-admin CI / build (16.x) (push) Has been cancelled
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
yudao-ui-admin CI / build (14.x) (push) Has been cancelled
yudao-ui-admin CI / build (16.x) (push) Has been cancelled
This commit is contained in:
parent
d773dae6e7
commit
07bd4ccb79
@ -503,8 +503,18 @@ public class EcganalysisparasServiceImpl extends ServiceImpl<EcganalysisparasMap
|
||||
.collect(Collectors.toList());
|
||||
|
||||
// return;
|
||||
if (!ecgDO.isEmpty()) {
|
||||
ecgDO.forEach(e -> {
|
||||
e.setId(UUID.randomUUID().toString());
|
||||
});
|
||||
ecganalysisparasMapper.insertBatch(ecgDO);
|
||||
}
|
||||
if (!patientDOList.isEmpty()) {
|
||||
patientDOList.forEach(e -> {
|
||||
e.setId(UUID.randomUUID().toString());
|
||||
});
|
||||
patientexamlistMapper.insertBatch(patientDOList);
|
||||
}
|
||||
|
||||
// 这里可以对invalidRecords进行日志记录或其他处理
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user