Commit 19d8ae125e5a2a38669e166741ed253d250d1753
1 parent
4db195681f
Exists in
master
and in
6 other branches
修改电子病历
Showing 2 changed files with 1 additions and 8 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostReviewFacade.java
View file @
19d8ae1
... | ... | @@ -396,7 +396,7 @@ |
396 | 396 | if (null != patients) { |
397 | 397 | if (null != patients.getPostViewTimes()) { |
398 | 398 | Patients patients2 = new Patients(); |
399 | - patients2.setPostViewTimes(patients.getPostViewTimes() + 1); | |
399 | + patients2.setPostViewTimes(patients.getPostViewTimes() - 1); | |
400 | 400 | patients2.setId(patients.getId()); |
401 | 401 | patientsService.updatePatient(patients2); |
402 | 402 | } else { |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/QuanChanPatientWorker.java
View file @
19d8ae1
... | ... | @@ -145,13 +145,6 @@ |
145 | 145 | chanResult.setcHTimes(withList.size()); |
146 | 146 | } |
147 | 147 | } |
148 | - }else{ | |
149 | - if(null==patients.getPostViewTimes()){ | |
150 | - Patients patients1=new Patients(); | |
151 | - patients1.setPostViewTimes(0); | |
152 | - patients1.setId(patients.getId()); | |
153 | - patientsService.updatePatient(patients1); | |
154 | - } | |
155 | 148 | } |
156 | 149 | stopWatch.stop(); |
157 | 150 | chanResult.setServiceType(ServiceTypeEnums.getTitleById(patients.getServiceType())); |