Commit 5491b1d99645cd1475ac3a2f42bb88596435b295
1 parent
86a4db2d82
Exists in
master
and in
6 other branches
微量元素
Showing 2 changed files with 1 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MicroelementController.java
View file @
5491b1d
| ... | ... | @@ -36,9 +36,7 @@ | 
| 36 | 36 | @RequestMapping(value = "/saveMicroelement", method = RequestMethod.POST) | 
| 37 | 37 | public BaseResponse saveMicroelement(HttpServletRequest request, | 
| 38 | 38 | @RequestBody MicroelementModel microelementModel) { | 
| 39 | - | |
| 40 | 39 | return microelementFacade.saveMicroelement(microelementModel); | 
| 41 | - | |
| 42 | 40 | } | 
| 43 | 41 | |
| 44 | 42 | 
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MicroelementFacade.java
View file @
5491b1d
| ... | ... | @@ -244,7 +244,7 @@ | 
| 244 | 244 | if (CollectionUtils.isNotEmpty(patients)) | 
| 245 | 245 | { | 
| 246 | 246 | Patients pat = patients.get(0); | 
| 247 | - microelementModel.setHospitalId(hospitalId); | |
| 247 | + microelementModel.setHospitalId(pat.getHospitalId()); | |
| 248 | 248 | microelementModel.setPatientId(pat.getId()); | 
| 249 | 249 | microelementModel.setPid(pat.getPid()); | 
| 250 | 250 | microelementModel.setBirthday(pat.getBirth()); |