Commit 86a4db2d823f4b180c08bc4797b487cb827f0a91
1 parent
73b7d99bc8
Exists in
master
and in
6 other branches
微量元素
Showing 2 changed files with 2 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MicroelementController.java
View file @
86a4db2
| ... | ... | @@ -32,13 +32,12 @@ |
| 32 | 32 | * @param microelementModel |
| 33 | 33 | * @return |
| 34 | 34 | */ |
| 35 | - @TokenRequired | |
| 36 | 35 | @ResponseBody |
| 37 | 36 | @RequestMapping(value = "/saveMicroelement", method = RequestMethod.POST) |
| 38 | 37 | public BaseResponse saveMicroelement(HttpServletRequest request, |
| 39 | 38 | @RequestBody MicroelementModel microelementModel) { |
| 40 | 39 | |
| 41 | - return microelementFacade.saveMicroelement(microelementModel, getUserId(request)); | |
| 40 | + return microelementFacade.saveMicroelement(microelementModel); | |
| 42 | 41 | |
| 43 | 42 | } |
| 44 | 43 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MicroelementFacade.java
View file @
86a4db2
| ... | ... | @@ -235,11 +235,9 @@ |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | |
| 238 | - public BaseResponse saveMicroelement(MicroelementModel microelementModel, Integer userId) { | |
| 239 | - String hospitalId = autoMatchFacade.getHospitalId(userId); | |
| 238 | + public BaseResponse saveMicroelement(MicroelementModel microelementModel) { | |
| 240 | 239 | PatientsQuery patientsQuery = new PatientsQuery(); |
| 241 | 240 | patientsQuery.setYn(YnEnums.YES.getId()); |
| 242 | - patientsQuery.setHospitalId(hospitalId); | |
| 243 | 241 | patientsQuery.setType(1); |
| 244 | 242 | patientsQuery.setNumberCode(microelementModel.getNumberCode()); |
| 245 | 243 | List<Patients> patients = patientsService.queryPatient(patientsQuery); |