Commit 8ea9e128aef1087bcf47f31e3ed9f6ef6b20a31d
1 parent
5981c68e44
Exists in
master
and in
6 other branches
服务同步
Showing 1 changed file with 7 additions and 7 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java
View file @
8ea9e12
| ... | ... | @@ -339,13 +339,13 @@ |
| 339 | 339 | YunBookbuildingAddRequest yunBookbuildingAddRequest = new YunBookbuildingAddRequest(); |
| 340 | 340 | if (PatientSerEnums.SerTypeEnums.yqjzzd.getId().intValue() == ps.getSerType().intValue()) {//孕期精准指导同步到建档 |
| 341 | 341 | yunBookbuildingAddRequest.setServiceType(ServiceTypeEnums.ADD_SERVICE.getId()); |
| 342 | - if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.kt.getId()) { | |
| 342 | + if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.kt.getId().intValue()) { | |
| 343 | 343 | yunBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OPEN.getId()); |
| 344 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.td.getId()) { | |
| 344 | + } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.td.getId().intValue()) { | |
| 345 | 345 | yunBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.UNSUBSCRIBE.getId()); |
| 346 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.gq.getId()) { | |
| 346 | + } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.gq.getId().intValue()) { | |
| 347 | 347 | yunBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OVERDUE.getId()); |
| 348 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.zt.getId()) { | |
| 348 | + } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.zt.getId().intValue()) { | |
| 349 | 349 | yunBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.SUSPEND.getId()); |
| 350 | 350 | } |
| 351 | 351 | }else if(PatientSerEnums.SerTypeEnums.bzfw.getId().intValue() == ps.getSerType().intValue()){ |
| 352 | 352 | |
| 353 | 353 | |
| ... | ... | @@ -358,11 +358,11 @@ |
| 358 | 358 | yunBookbuildingAddRequest.setServiceType(ServiceTypeEnums.STANDARD_SERVICE.getId()); |
| 359 | 359 | if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.kt.getId().intValue()) { |
| 360 | 360 | yunBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OPEN.getId()); |
| 361 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.td.getId()) { | |
| 361 | + } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.td.getId().intValue()) { | |
| 362 | 362 | yunBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.UNSUBSCRIBE.getId()); |
| 363 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.gq.getId()) { | |
| 363 | + } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.gq.getId().intValue()) { | |
| 364 | 364 | yunBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OVERDUE.getId()); |
| 365 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.zt.getId()) { | |
| 365 | + } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.zt.getId().intValue()) { | |
| 366 | 366 | yunBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.SUSPEND.getId()); |
| 367 | 367 | } |
| 368 | 368 | } |