Commit 9fc334e5c65098ab89863adcd3d072e85969aee9
1 parent
b0974444bd
Exists in
master
and in
8 other branches
修改新电子病历
Showing 1 changed file with 3 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntenatalExaminationController.java
View file @
9fc334e
... | ... | @@ -97,8 +97,9 @@ |
97 | 97 | @RequestMapping(method = RequestMethod.DELETE, value = "/antex") |
98 | 98 | @ResponseBody |
99 | 99 | @TokenRequired |
100 | - public BaseResponse delOneAntById(@Valid AntExQueryRequest antExQueryRequest) { | |
101 | - return antenatalExaminationFacade.delOneAntEx(antExQueryRequest); | |
100 | + public BaseResponse delOneAntById(@Valid AntExQueryRequest antExQueryRequest,HttpServletRequest request) { | |
101 | + LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); | |
102 | + return antenatalExaminationFacade.delOneAntEx(antExQueryRequest,loginState.getId()); | |
102 | 103 | } |
103 | 104 | |
104 | 105 | @RequestMapping(method = RequestMethod.GET, value = "/antex/getenums") |