Commit 7eecaaead612e468ff883c88a6628ff9aa3bed4a
1 parent
a3a988cdb6
Exists in
master
and in
6 other branches
儿童建档
Showing 3 changed files with 2 additions and 5 deletions
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/BabyAppBuildAddRequest.java
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java
View file @
7eecaae
... | ... | @@ -842,7 +842,8 @@ |
842 | 842 | |
843 | 843 | @RequestMapping(method = RequestMethod.POST, value = "/addAppBabyInfo") |
844 | 844 | @ResponseBody |
845 | - public BaseResponse addAppBabyInfo(@Valid @RequestBody BabyAppBuildAddRequest request, HttpServletRequest httpServletRequest) { | |
845 | + public BaseResponse addAppBabyInfo(@Valid @RequestBody BabyAppBuildAddRequest request, | |
846 | + HttpServletRequest httpServletRequest) { | |
846 | 847 | return babyBookbuildingFacade.addAppBabyInfo(request); |
847 | 848 | } |
848 | 849 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
7eecaae
... | ... | @@ -5018,7 +5018,6 @@ |
5018 | 5018 | |
5019 | 5019 | public BaseResponse addAppBabyInfo(BabyAppBuildAddRequest appRequest) { |
5020 | 5020 | |
5021 | - | |
5022 | 5021 | BabyModel babyModel = babyService.getOneBabyById(appRequest.getId()); |
5023 | 5022 | |
5024 | 5023 | BabyBookbuildingAddRequest request = new BabyBookbuildingAddRequest(); |
... | ... | @@ -5043,7 +5042,6 @@ |
5043 | 5042 | usersQuery.setYn(YnEnums.YES.getId()); |
5044 | 5043 | usersQuery.setOrgId(Integer.parseInt(appRequest.getHospitalId())); |
5045 | 5044 | List<Users> users = usersService.queryUsers(usersQuery); |
5046 | - | |
5047 | 5045 | updateBabyBookbuilding(request, users.get(0).getId()); |
5048 | 5046 | BabyModel babyModelDb = babyService.getOneBabyById(appRequest.getId()); |
5049 | 5047 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/BabyAppBuildAddRequest.java
View file @
7eecaae
... | ... | @@ -14,7 +14,6 @@ |
14 | 14 | public class BabyAppBuildAddRequest { |
15 | 15 | private String id; |
16 | 16 | private String sINCard; |
17 | - | |
18 | 17 | private String phone; |
19 | 18 | private String mommyCardNo; |
20 | 19 | private String sex; |
... | ... | @@ -23,7 +22,6 @@ |
23 | 22 | private String mommyName; |
24 | 23 | private String vcCardNo; |
25 | 24 | private String hospitalId; |
26 | - | |
27 | 25 | public String getId() { |
28 | 26 | return id; |
29 | 27 | } |