Commit 6e0918f66e7d15def0ae2dee1591e2c05a8d847d
1 parent
36b9a86578
Exists in
master
and in
1 other branch
增加权限
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/VisitFacade.java
View file @
6e0918f
| ... | ... | @@ -186,6 +186,10 @@ |
| 186 | 186 | } else { |
| 187 | 187 | visitService.updateVisit(visitRequest.getRequestVisit()); |
| 188 | 188 | } |
| 189 | + Patients patients = new Patients(); | |
| 190 | + patients.setId(parentId); | |
| 191 | + patients.setIsVisit(1); | |
| 192 | + patientsService.updatePatient(patients); | |
| 189 | 193 | return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
| 190 | 194 | } |
| 191 | 195 |