Commit aac6437175ded42083df072884729808731b30dc
1 parent
9fe226acfb
Exists in
master
and in
6 other branches
滦平分娩接口
Showing 2 changed files with 14 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/dzfy/Fm.java
View file @
aac6437
| ... | ... | @@ -87,6 +87,16 @@ |
| 87 | 87 | private String SBABY_WEIGHT; |
| 88 | 88 | private String SBABY_HEIGHT; |
| 89 | 89 | |
| 90 | + private String Vision; //用来判断区域环境分娩调用选择 | |
| 91 | + | |
| 92 | + public String getVision() { | |
| 93 | + return Vision; | |
| 94 | + } | |
| 95 | + | |
| 96 | + public void setVision(String vision) { | |
| 97 | + Vision = vision; | |
| 98 | + } | |
| 99 | + | |
| 90 | 100 | public String getSFETUS_NUM() { |
| 91 | 101 | return SFETUS_NUM; |
| 92 | 102 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FmController.java
View file @
aac6437
| ... | ... | @@ -27,7 +27,10 @@ |
| 27 | 27 | public String saveFmData(@RequestBody List<Fm> models, |
| 28 | 28 | HttpServletRequest httpServletRequest){ |
| 29 | 29 | |
| 30 | - lpfyFmService.queryFmPatient(models); | |
| 30 | + if("17".equals(models.get(0).getVision())){ | |
| 31 | + lpfyFmService.queryFmPatient(models); | |
| 32 | + } | |
| 33 | + | |
| 31 | 34 | |
| 32 | 35 | return null; |
| 33 | 36 | } |