Commit a178c9f7d51874a327842de284a0f954254c579b
1 parent
8ea9e128ae
Exists in
master
and in
6 other branches
服务同步
Showing 2 changed files with 12 additions and 12 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java
View file @
a178c9f
| ... | ... | @@ -306,13 +306,13 @@ |
| 306 | 306 | babyBookbuildingAddRequest.setId(ps.getParentid()); |
| 307 | 307 | if (PatientSerEnums.SerTypeEnums.babyjzzz.getId().intValue() == ps.getSerType().intValue()) { |
| 308 | 308 | babyBookbuildingAddRequest.setServiceType(ServiceTypeEnums.ADD_SERVICE.getId()); |
| 309 | - if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.kt.getId()) { | |
| 309 | + if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.kt.getId()) { | |
| 310 | 310 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OPEN.getId()); |
| 311 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.td.getId()) { | |
| 311 | + } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.td.getId()) { | |
| 312 | 312 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.UNSUBSCRIBE.getId()); |
| 313 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.gq.getId()) { | |
| 313 | + } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.gq.getId()) { | |
| 314 | 314 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OVERDUE.getId()); |
| 315 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.zt.getId()) { | |
| 315 | + } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.zt.getId()) { | |
| 316 | 316 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.SUSPEND.getId()); |
| 317 | 317 | } |
| 318 | 318 | } else if (PatientSerEnums.SerTypeEnums.babyBzfw.getId().intValue() == ps.getSerType().intValue()) { |
| 319 | 319 | |
| 320 | 320 | |
| 321 | 321 | |
| ... | ... | @@ -323,13 +323,13 @@ |
| 323 | 323 | //是否有增值服务--没有则处理标准服务 |
| 324 | 324 | if (count == 0) { |
| 325 | 325 | babyBookbuildingAddRequest.setServiceType(ServiceTypeEnums.STANDARD_SERVICE.getId()); |
| 326 | - if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.kt.getId()) { | |
| 326 | + if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.kt.getId()) { | |
| 327 | 327 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.STANDARD_OPEN.getId()); |
| 328 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.td.getId()) { | |
| 328 | + } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.td.getId()) { | |
| 329 | 329 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.NO_OPEN.getId()); |
| 330 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.gq.getId()) { | |
| 330 | + } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.gq.getId()) { | |
| 331 | 331 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.STANDARD_OVERDUE.getId()); |
| 332 | - } else if (ps.getSerStatus() == PatientSerEnums.SerStatusEnums.zt.getId()) { | |
| 332 | + } else if (ps.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.zt.getId()) { | |
| 333 | 333 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.STANDARD_OVERDUE.getId()); |
| 334 | 334 | } |
| 335 | 335 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceSysFacade.java
View file @
a178c9f
| ... | ... | @@ -118,13 +118,13 @@ |
| 118 | 118 | babyBookbuildingAddRequest.setId(patientService.getParentid()); |
| 119 | 119 | if (PatientSerEnums.SerTypeEnums.babyjzzz.getId().intValue() == patientService.getSerType().intValue()) { |
| 120 | 120 | babyBookbuildingAddRequest.setServiceType(ServiceTypeEnums.ADD_SERVICE.getId()); |
| 121 | - if (patientService.getSerStatus() == PatientSerEnums.SerStatusEnums.kt.getId()) { | |
| 121 | + if (patientService.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.kt.getId().intValue()) { | |
| 122 | 122 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OPEN.getId()); |
| 123 | - } else if (patientService.getSerStatus() == PatientSerEnums.SerStatusEnums.td.getId()) { | |
| 123 | + } else if (patientService.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.td.getId().intValue()) { | |
| 124 | 124 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.UNSUBSCRIBE.getId()); |
| 125 | - } else if (patientService.getSerStatus() == PatientSerEnums.SerStatusEnums.gq.getId()) { | |
| 125 | + } else if (patientService.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.gq.getId().intValue()) { | |
| 126 | 126 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OVERDUE.getId()); |
| 127 | - } else if (patientService.getSerStatus() == PatientSerEnums.SerStatusEnums.zt.getId()) { | |
| 127 | + } else if (patientService.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.zt.getId().intValue()) { | |
| 128 | 128 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.SUSPEND.getId()); |
| 129 | 129 | } |
| 130 | 130 | babyBookbuildingFacade.updateBabySerInfo(babyBookbuildingAddRequest); |