Commit 067be9d2559d391073e7c9c22430382fc4ed6186
1 parent
266a581d21
Exists in
dev
1:新增全部孕产妇管理中,风险等级下拉框新增绿色等级
Showing 1 changed file with 22 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PuerperaManageController.java
View file @
067be9d
... | ... | @@ -561,6 +561,28 @@ |
561 | 561 | return new BaseObjectResponse().setData(map).setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
562 | 562 | } |
563 | 563 | |
564 | + @RequestMapping(value = "/apatients/rLevelAll", method = RequestMethod.GET) | |
565 | + @ResponseBody | |
566 | + public BaseResponse rLevleAll() { | |
567 | + Map<String, Object> map = new HashMap<>(); | |
568 | + | |
569 | + List<BasicConfigResult> results = new ArrayList<>(); | |
570 | + | |
571 | + List<BasicConfigResult> riskLevelConfig = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.HIGH_RISK_ID); | |
572 | + if (CollectionUtils.isNotEmpty(riskLevelConfig)) { | |
573 | + for (BasicConfigResult levelConfig : riskLevelConfig) { | |
574 | + //健康 | |
575 | + /*if ("e637b361-99cf-41eb-84f2-f0dab596e928".equals(levelConfig.getId())) { | |
576 | + continue; | |
577 | + }*/ | |
578 | + //高危ID fb43fd5a-b153-4cb9-9180-c46f5612ba43 | |
579 | + results.add(levelConfig); | |
580 | + | |
581 | + } | |
582 | + } | |
583 | + map.put("gwfz", results); | |
584 | + return new BaseObjectResponse().setData(map).setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); | |
585 | + } | |
564 | 586 | /** |
565 | 587 | * 获取产妇基本信息 |
566 | 588 | * |