Commit 686e137c6bf2af14e7093a2a232b1374e99d1aaa
1 parent
d20c3f7ebb
Exists in
master
and in
6 other branches
高位颜色根目录也添加上
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java
View file @
686e137
... | ... | @@ -128,7 +128,9 @@ |
128 | 128 | Map<String, List<BasicConfig>> slaveBasicConfigMap = new HashMap<>(); |
129 | 129 | for (BasicConfig bc : basicConfigList) { |
130 | 130 | bc.setColor(HosptialHighRiskFacade.colorMap.get(bc.getParentId())); |
131 | - | |
131 | + if (bc.getParentId().equals("fb43fd5a-b153-4cb9-9180-c46f5612ba43")) { | |
132 | + bc.setColor("risk_" + RiskDefaultTypeEnum.getColor(bc.getName())); | |
133 | + } | |
132 | 134 | if (bc.getpId() != null) { |
133 | 135 | if (slaveBasicConfigMap.containsKey(bc.getpId())) { |
134 | 136 | slaveBasicConfigMap.get(bc.getpId()).add(bc); |