Commit 948c39f22b46b49e1d6f97210cda8b8adb79f4e8
1 parent
f88a957e09
Exists in
master
and in
6 other branches
儿童建档
Showing 1 changed file with 20 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
948c39f
1 | 1 | package com.lyms.platform.operate.web.facade; |
2 | 2 | |
3 | 3 | import com.lyms.hospitalapi.dzfy.DzfyHisService; |
4 | +import com.lyms.hospitalapi.zcfy.ZcPrenatalService; | |
4 | 5 | import com.lyms.platform.beans.MsgRequest; |
5 | 6 | import com.lyms.platform.biz.SequenceConstant; |
6 | 7 | import com.lyms.platform.biz.service.*; |
7 | 8 | |
... | ... | @@ -75,7 +76,11 @@ |
75 | 76 | private PostReviewService postReviewService; |
76 | 77 | @Autowired |
77 | 78 | private AutoMatchFacade autoMatchFacade; |
79 | + | |
78 | 80 | @Autowired |
81 | + private ZcPrenatalService zcPrenatalService; | |
82 | + | |
83 | + @Autowired | |
79 | 84 | private ApplyOrderFacade applyOrderFacade; |
80 | 85 | @Autowired |
81 | 86 | private StopPregnancyService stopPregnancyService; |
... | ... | @@ -417,6 +422,13 @@ |
417 | 422 | } catch (Exception e) { |
418 | 423 | e.printStackTrace(); |
419 | 424 | } |
425 | + | |
426 | + //诸城市妇幼保健院 | |
427 | + if ("2100001634".equals(hospitalId)) | |
428 | + { | |
429 | + zcPrenatalService.saveAntexFu(antExamModel); | |
430 | + } | |
431 | + | |
420 | 432 | } |
421 | 433 | }); |
422 | 434 | |
... | ... | @@ -661,7 +673,7 @@ |
661 | 673 | } |
662 | 674 | |
663 | 675 | //处理数据自动流转 |
664 | - updateChuAutoData(excAddRequest, hospitalId, userId); | |
676 | + updateChuAutoData(antExChuModel,excAddRequest, hospitalId, userId); | |
665 | 677 | |
666 | 678 | return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
667 | 679 | } |
... | ... | @@ -794,7 +806,7 @@ |
794 | 806 | * @param excAddRequest |
795 | 807 | * @param hospitalId |
796 | 808 | */ |
797 | - public void updateChuAutoData(final AntExcAddRequest excAddRequest, final String hospitalId, final Integer userId) { | |
809 | + public void updateChuAutoData(final AntExChuModel antExChuModel ,final AntExcAddRequest excAddRequest, final String hospitalId, final Integer userId) { | |
798 | 810 | commonThreadPool.execute(new Runnable() { |
799 | 811 | @Override |
800 | 812 | public void run() { |
... | ... | @@ -870,6 +882,12 @@ |
870 | 882 | } |
871 | 883 | } catch (Exception e) { |
872 | 884 | e.printStackTrace(); |
885 | + } | |
886 | + | |
887 | + //诸城市妇幼保健院 | |
888 | + if ("2100001634".equals(hospitalId)) | |
889 | + { | |
890 | + zcPrenatalService.saveAntexChu(antExChuModel); | |
873 | 891 | } |
874 | 892 | } |
875 | 893 | }); |