Commit cd492f4ba7d05143b5098b49a4339406c1e75ce0

Authored by changpengfei
1 parent c15c8d7d34
Exists in master and in 1 other branch dev

病例字段修改

Showing 1 changed file with 2 additions and 2 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java View file @ cd492f4
... ... @@ -100,7 +100,7 @@
100 100 pcase.setCreatedby(patient.getCreatedby());
101 101 pcase.setPid(patient.getId());
102 102 pcase.setCreatedtime(new Date());
103   - f=lymsPcaseService.save(pcase);
  103 + f=lymsPcaseService.saveOrUpdate(pcase);
104 104 String[] iArr=illness.split(",");
105 105  
106 106 log.info(patient);
... ... @@ -113,7 +113,7 @@
113 113 ness.setPcid(pcase.getPcid());
114 114 ness.setIid(Integer.parseInt(iArr[i]));
115 115 ness.setCreatedtime(new Date());
116   - f=lymsIllnessService.save(ness);
  116 + f=lymsIllnessService.saveOrUpdate(ness);
117 117 log.info(ness);
118 118 }
119 119