Commit 46678f4c179ee90183d272ae1c9ef9ddf8c1d69a

Authored by yangfei
1 parent f9859c803d

小程序开通服务同步更新patient表服务状态

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceSysFacade.java View file @ 46678f4
... ... @@ -132,7 +132,7 @@
132 132 }
133 133 } else {//孕妇建档服务数据处理
134 134 Patients patient = new Patients();
135   - if (PatientSerEnums.SerTypeEnums.yqjzzd.getId() == patientService.getSerType()) {//孕期精准指导同步到建档
  135 + if (PatientSerEnums.SerTypeEnums.yqjzzd.getId().intValue() == patientService.getSerType()) {//孕期精准指导同步到建档
136 136 patient.setServiceType(ServiceTypeEnums.ADD_SERVICE.getId());
137 137 if (patientService.getSerStatus().intValue() == PatientSerEnums.SerStatusEnums.kt.getId().intValue()) {
138 138 patient.setServiceStatus(ServiceStatusEnums.ADD_OPEN.getId());