Commit ec983a27ef1ece47b38d76b27392ee97b31e34f5
1 parent
440bdfd4a0
Exists in
master
and in
6 other branches
筛查结果基础数据接口
Showing 1 changed file with 13 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
ec983a2
| ... | ... | @@ -2772,6 +2772,19 @@ |
| 2772 | 2772 | map.put("gwfz", basicConfigFacade.getBaseicConfigByParentId(SystemConfig.GWFZ)); |
| 2773 | 2773 | map.put("organizations", convert()); |
| 2774 | 2774 | map.put("cTime", DateUtil.getyyyy_MM_dd(new Date())); |
| 2775 | + if (CollectionUtils.isEmpty(mainBasicConfigList)) { | |
| 2776 | + BasicConfigQuery basicConfigQuery = new BasicConfigQuery(); | |
| 2777 | + basicConfigQuery.setEnable(1); | |
| 2778 | + basicConfigQuery.setTypeId("5b023e73422b03d4ad2bf8af"); | |
| 2779 | + | |
| 2780 | + //所有数据 | |
| 2781 | + List<BasicConfig> basicConfigList = basicConfigService.queryBasicConfig(basicConfigQuery); | |
| 2782 | + //主节点数据 | |
| 2783 | + basicConfigQuery.setTypeId(null); | |
| 2784 | + basicConfigQuery.setParentId("5b023e73422b03d4ad2bf8af"); | |
| 2785 | + mainBasicConfigList = basicConfigService.queryBasicConfig(basicConfigQuery); | |
| 2786 | + BasicConfigFacade.dispNewHighRisk(basicConfigList, mainBasicConfigList); | |
| 2787 | + } | |
| 2775 | 2788 | //筛查结果的基础数据 |
| 2776 | 2789 | map.put("secrEnmum", mainBasicConfigList); |
| 2777 | 2790 | return new BaseObjectResponse().setData(map).setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |