Commit 2cd34e2d1221a4b9e01410dbb89485e19e450594
1 parent
c8515ea641
Exists in
master
and in
6 other branches
听力诊断模块
Showing 4 changed files with 8 additions and 6 deletions
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FollowUpController.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HearingDiagnoseController.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HighriskChangeHospitalController.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyEarFacade.java
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FollowUpController.java
View file @
2cd34e2
| ... | ... | @@ -533,7 +533,7 @@ |
| 533 | 533 | |
| 534 | 534 | //听力筛查-当某个儿童在同一院组内某家医院完成了的听筛建档后去院组内其他医院做了听筛、听诊或随访,应该要在对应的医院下创建一个隐藏档案 |
| 535 | 535 | //建立隐藏档案 |
| 536 | - babyEarFacade.addhideBabyEar(obj.getBabyId(),hospitalId); | |
| 536 | + babyEarFacade.addhideBabyEar(obj.getBabyId(),hospitalId,"2"); | |
| 537 | 537 | |
| 538 | 538 | babyPatientExtendEarFollowUpService.addBabyPatientExtendEarFollowUp(obj); |
| 539 | 539 | BaseResponse result = new BaseResponse(); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HearingDiagnoseController.java
View file @
2cd34e2
| ... | ... | @@ -817,7 +817,7 @@ |
| 817 | 817 | } |
| 818 | 818 | //听力筛查-当某个儿童在同一院组内某家医院完成了的听筛建档后去院组内其他医院做了听筛、听诊或随访,应该要在对应的医院下创建一个隐藏档案 |
| 819 | 819 | //建立隐藏档案 |
| 820 | - babyEarFacade.addhideBabyEar(obj.getBabyId(), hospitalId); | |
| 820 | + babyEarFacade.addhideBabyEar(obj.getBabyId(), hospitalId,"2"); | |
| 821 | 821 | |
| 822 | 822 | BaseResponse result = new BaseResponse(); |
| 823 | 823 | result.setErrorcode(ErrorCodeConstants.SUCCESS); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HighriskChangeHospitalController.java
View file @
2cd34e2
| ... | ... | @@ -517,7 +517,7 @@ |
| 517 | 517 | String hospitalId = autoMatchFacade.getHospitalId(loginState.getId()); |
| 518 | 518 | |
| 519 | 519 | //建立隐藏档案 |
| 520 | - babyEarFacade.addhideBabyEar(obj.getTargetId(),obj.getIntoOrgid()); | |
| 520 | + babyEarFacade.addhideBabyEar(obj.getTargetId(),obj.getIntoOrgid(),"0"); | |
| 521 | 521 | |
| 522 | 522 | if (StringUtil.isBlank(obj.getTargetId())) { |
| 523 | 523 | return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("请传入儿童档案id"); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyEarFacade.java
View file @
2cd34e2
| ... | ... | @@ -255,7 +255,7 @@ |
| 255 | 255 | * @param hospitalId 医院Id |
| 256 | 256 | * @return 操作是否成功 |
| 257 | 257 | */ |
| 258 | - public boolean addhideBabyEar(String babyId, String hospitalId) { | |
| 258 | + public boolean addhideBabyEar(String babyId, String hospitalId,String enable) { | |
| 259 | 259 | |
| 260 | 260 | if (StringUtils.isEmpty(babyId) || StringUtils.isEmpty(hospitalId)) { |
| 261 | 261 | return false; |
| ... | ... | @@ -277,7 +277,8 @@ |
| 277 | 277 | babyModel.setYn(YnEnums.YES.getId()); |
| 278 | 278 | babyModel.setCreated(new Date()); |
| 279 | 279 | babyModel.setId(null); |
| 280 | - babyModel.setEnable("0"); | |
| 280 | + //2-隐藏建档 0--转诊 | |
| 281 | + babyModel.setEnable(enable); | |
| 281 | 282 | babyModel.setBuildType(3); |
| 282 | 283 | babyModel.setBuildDoctor(null); |
| 283 | 284 | babyModel.setBuildDate(new Date()); |
| ... | ... | @@ -1667,7 +1668,8 @@ |
| 1667 | 1668 | babyPatientExtendEarScreenService.addBabyPatientExtendEarScreen(babyPatientExtendEarScreen); |
| 1668 | 1669 | //听力筛查-当某个儿童在同一院组内某家医院完成了的听筛建档后去院组内其他医院做了听筛、听诊或随访,应该要在对应的医院下创建一个隐藏档案 |
| 1669 | 1670 | //建立隐藏档案 |
| 1670 | - addhideBabyEar(babyPatientExtendEarScreen.getBabyId(), hId); | |
| 1671 | + | |
| 1672 | + addhideBabyEar(babyPatientExtendEarScreen.getBabyId(), hId,"2"); | |
| 1671 | 1673 | } else { |
| 1672 | 1674 | babyPatientExtendEarScreen.setLastUpdateDate(new Date()); |
| 1673 | 1675 | babyPatientExtendEarScreen.setLastUpdateUserId(userId + ""); |