Commit b7471ddf8810fdf139adf43dfb4ff73bcd807ab8
1 parent
87b2c6a9dc
Exists in
master
and in
6 other branches
服务开通
Showing 1 changed file with 8 additions and 6 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java
View file @
b7471dd
| ... | ... | @@ -456,9 +456,11 @@ |
| 456 | 456 | } |
| 457 | 457 | } |
| 458 | 458 | babyBookbuildingFacade.updateBabySerInfo(babyBookbuildingAddRequest); |
| 459 | - } else {//孕妇建档服务数据处理 | |
| 459 | + } else { | |
| 460 | + //孕妇建档服务数据处理 | |
| 460 | 461 | Patients patient = new Patients(); |
| 461 | - if (PatientSerEnums.SerTypeEnums.yqjzzd.getId().intValue() == ps.getSerType().intValue()) {//孕期精准指导同步到建档 | |
| 462 | + if (PatientSerEnums.SerTypeEnums.yqjzzd.getId().intValue() == ps.getSerType().intValue()) { | |
| 463 | + //孕期精准指导同步到建档 | |
| 462 | 464 | patient.setServiceType(ServiceTypeEnums.ADD_SERVICE.getId()); |
| 463 | 465 | if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.kt.getId().intValue()) { |
| 464 | 466 | patient.setServiceStatus(ServiceStatusEnums.ADD_OPEN.getId()); |
| 465 | 467 | |
| 466 | 468 | |
| 467 | 469 | |
| ... | ... | @@ -485,13 +487,13 @@ |
| 485 | 487 | if (count == 0) { |
| 486 | 488 | patient.setServiceType(ServiceTypeEnums.STANDARD_SERVICE.getId()); |
| 487 | 489 | if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.kt.getId().intValue()) { |
| 488 | - patient.setServiceStatus(ServiceStatusEnums.ADD_OPEN.getId()); | |
| 490 | + patient.setServiceStatus(ServiceStatusEnums.STANDARD_OPEN.getId()); | |
| 489 | 491 | } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.td.getId().intValue()) { |
| 490 | - patient.setServiceStatus(ServiceStatusEnums.UNSUBSCRIBE.getId()); | |
| 492 | + patient.setServiceStatus(ServiceStatusEnums.NO_OPEN.getId()); | |
| 491 | 493 | } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.gq.getId().intValue()) { |
| 492 | - patient.setServiceStatus(ServiceStatusEnums.ADD_OVERDUE.getId()); | |
| 494 | + patient.setServiceStatus(ServiceStatusEnums.STANDARD_OVERDUE.getId()); | |
| 493 | 495 | } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.zt.getId().intValue()) { |
| 494 | - patient.setServiceStatus(ServiceStatusEnums.SUSPEND.getId()); | |
| 496 | + patient.setServiceStatus(ServiceStatusEnums.NO_OPEN.getId()); | |
| 495 | 497 | } |
| 496 | 498 | } |
| 497 | 499 | } |