Commit 8adceece4ddc203eb143b18cb2fabb77b8902a64
1 parent
bbb93af85f
Exists in
master
and in
6 other branches
改同步逻辑
Showing 1 changed file with 1 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
8adceec
... | ... | @@ -344,6 +344,7 @@ |
344 | 344 | } |
345 | 345 | |
346 | 346 | if(StringUtils.isEmpty(patientWeight.getId()) && patients != null) { |
347 | + patientWeight.setId(UUID.randomUUID().toString().replaceAll("-", "")); | |
347 | 348 | patientWeight.setCreated(new Date()); |
348 | 349 | patientWeight.setHospitalId(patients.getHospitalId()); |
349 | 350 | if(StringUtils.isNotBlank(patientWeight.getBeforeWeight()) && patientWeight.getBeforeHeight() != null) { |