Commit 4697edc660fa81f2207864653202ece11fe01758
1 parent
779ca2e38c
Exists in
master
and in
6 other branches
修改体重营养报告
Showing 1 changed file with 3 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientWeightController.java
View file @
4697edc
... | ... | @@ -10,6 +10,7 @@ |
10 | 10 | import org.springframework.web.bind.annotation.*; |
11 | 11 | |
12 | 12 | import javax.servlet.http.HttpServletRequest; |
13 | +import javax.servlet.http.HttpServletResponse; | |
13 | 14 | |
14 | 15 | /** |
15 | 16 | * 孕产妇体重管理 |
... | ... | @@ -155,8 +156,8 @@ |
155 | 156 | */ |
156 | 157 | @ResponseBody |
157 | 158 | @RequestMapping(value = "/last/check", method = RequestMethod.GET) |
158 | - public String patientLastCheck(String pid) { | |
159 | - return patientWeightService.lastCheckTime(pid); | |
159 | + public void patientLastCheck(String pid,HttpServletResponse response) { | |
160 | + writeJson(response,patientWeightService.lastCheckTime(pid)); | |
160 | 161 | } |
161 | 162 | |
162 | 163 | /** |