Commit 3c9c5318e80240f595e8a0e95b51b854964f0297
1 parent
11d322e9f8
Exists in
master
and in
6 other branches
服务
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java
View file @
3c9c531
| ... | ... | @@ -384,8 +384,12 @@ |
| 384 | 384 | |
| 385 | 385 | public void setServiceRecordAdd(PatientService pser, Patients patients) |
| 386 | 386 | { |
| 387 | - | |
| 388 | 387 | Date currentDate = new Date(); |
| 388 | + if (pser.getCreateDate() != null) | |
| 389 | + { | |
| 390 | + currentDate = pser.getCreateDate(); | |
| 391 | + } | |
| 392 | + | |
| 389 | 393 | if (pser.getPerType() != null && pser.getPerType() == 2) {//儿童 |
| 390 | 394 | return; |
| 391 | 395 | } |