Commit 1414014e05a031f3bb101dabfd3492fe35b93c6a
1 parent
07f620e954
Exists in
fengning2023-06-06
add 新增小程序访视接口
Showing 2 changed files with 28 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatdeliverFollowController.java
View file @
1414014
... | ... | @@ -187,18 +187,32 @@ |
187 | 187 | } |
188 | 188 | |
189 | 189 | /** |
190 | - * 获取产后随访列表 | |
190 | + * 微信小程序获取产后随访列表 | |
191 | 191 | * @param request |
192 | 192 | * @return |
193 | 193 | */ |
194 | 194 | @ResponseBody |
195 | 195 | @RequestMapping(value = "/wxList", method = RequestMethod.GET) |
196 | - public BaseListResponse getMatdeliverFollowMakeList( | |
196 | + public BaseListResponse getMatdeliverFollowMake2wx( | |
197 | 197 | MatdeliverFollowRequest matdeliverFollowRequest, |
198 | 198 | HttpServletRequest request |
199 | 199 | ) { |
200 | 200 | matdeliverFollowRequest.setNeed("need"); |
201 | 201 | return matdeliverFollowFacade.getPostpartumFollowMake(matdeliverFollowRequest,matdeliverFollowRequest.getOperatorId()); |
202 | + } | |
203 | + | |
204 | + /** | |
205 | + * 微信小程序查询分娩记录、随访记录 | |
206 | + * | |
207 | + * @param pid 产妇pid | |
208 | + * @param id 分娩记录id | |
209 | + * @param uid 后台登录用户id | |
210 | + * @return | |
211 | + */ | |
212 | + @ResponseBody | |
213 | + @RequestMapping(value = "/wxMataFollowList", method = RequestMethod.GET) | |
214 | + public BaseResponse findpostpartumFollowMakeList2wx(String pid, String id, Integer uid) { | |
215 | + return matdeliverFollowFacade.findPostpartumFollowMakeList(pid, id, uid); | |
202 | 216 | } |
203 | 217 | |
204 | 218 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ViewController.java
View file @
1414014
... | ... | @@ -1267,5 +1267,17 @@ |
1267 | 1267 | public void getChuXhdbDetailsExport(AntExChuModel antExChuModel,HttpServletResponse response) { |
1268 | 1268 | viewFacade.getChuXhdbDetailsExport(antExChuModel, response); |
1269 | 1269 | } |
1270 | + | |
1271 | + /** | |
1272 | + * 微信小程序查看分娩接口 | |
1273 | + * | |
1274 | + * @param id | |
1275 | + * @return | |
1276 | + */ | |
1277 | + @RequestMapping(value = "/wxFindMatDeliverData", method = RequestMethod.GET) | |
1278 | + @ResponseBody | |
1279 | + public BaseObjectResponse findMatDeliverData2wx(String id) { | |
1280 | + return viewFacade.findMatDeliverData(id); | |
1281 | + } | |
1270 | 1282 | } |