Commit 554ff0164ba96eda233fc23f0a9588056a924d6f

Authored by yangfei
1 parent 52469eb6fd

服务同步

Showing 1 changed file with 3 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java View file @ 554ff01
... ... @@ -258,6 +258,9 @@
258 258 ps.setSynStatus(1);
259 259  
260 260 PatientService before = patientServiceService.getPatientService(ps.getId());
  261 + if(before.getSerStatus()==PatientSerEnums.SerStatusEnums.td.getId()){//如果上一次是退订状态,重新开通,开通时间为当前时间
  262 + ps.setCreateDate(new Date());
  263 + }
261 264  
262 265 patientServiceService.updatePatientService(ps);
263 266