From ff320428f4af7b0378a88729777616d21e319924 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Mon, 26 Dec 2016 14:06:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=84=BF=E7=AB=A5=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/controller/BabyBuildController.java | 12 ++++++------ .../platform/operate/web/facade/BabyBookbuildingFacade.java | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java index 8fdb846..8a19241 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java @@ -376,13 +376,13 @@ public class BabyBuildController extends BaseController { * 儿童生长统计 * @return */ - @RequestMapping(method = RequestMethod.GET, value = "/getBabyGroupCount") + @RequestMapping(method = RequestMethod.GET, value = "/getBabyGrowthCount") @ResponseBody @TokenRequired - public BaseResponse getBabyGroupCount(@Valid BabyManageRequest babyManageRequest, + public BaseResponse getBabyGrowthCount(@Valid BabyManageRequest babyManageRequest, HttpServletRequest request) { LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); - return babyBookbuildingFacade.getBabyGroupCount(babyManageRequest, loginState.getId()); + return babyBookbuildingFacade.getBabyGrowthCount(babyManageRequest, loginState.getId()); } /** @@ -390,14 +390,14 @@ public class BabyBuildController extends BaseController { * @param babyManageRequest * @return */ - @RequestMapping(method = RequestMethod.GET, value = "/getBabyGroupRightCount") + @RequestMapping(method = RequestMethod.GET, value = "/getBabyGrowthRightList") @ResponseBody @TokenRequired - public BaseResponse getBabyGroupRightCount(@Valid BabyManageRequest babyManageRequest,HttpServletRequest request, + public BaseResponse getBabyGrowthRightList(@Valid BabyManageRequest babyManageRequest,HttpServletRequest request, @RequestParam("page") Integer page, @RequestParam("limit") Integer limit){ LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); - return babyBookbuildingFacade.getBabyGroupRightCount(babyManageRequest,loginState.getId(),page,limit); + return babyBookbuildingFacade.getBabyGrowthRightList(babyManageRequest,loginState.getId(),page,limit); } diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java index 16e91dc..9645321 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java @@ -2142,7 +2142,7 @@ public class BabyBookbuildingFacade { * @param userId * @return */ - public BaseResponse getBabyGroupCount(BabyManageRequest request, Integer userId) { + public BaseResponse getBabyGrowthCount(BabyManageRequest request, Integer userId) { String hospitalId = ""; //得到当前登录的医院id if (userId != null) { @@ -2201,7 +2201,7 @@ public class BabyBookbuildingFacade { * @param userId * @return */ - public BaseResponse getBabyGroupRightCount(BabyManageRequest request, Integer userId,Integer page,Integer limit) { + public BaseResponse getBabyGrowthRightList(BabyManageRequest request, Integer userId,Integer page,Integer limit) { String hospitalId = ""; //得到当前登录的医院id if (userId != null) { -- 1.8.3.1