Commit f0d55c847a04b0428e10eeb0cdd5bb16dc7b0998
1 parent
a5810429e8
Exists in
master
and in
6 other branches
改字段
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/MongoUtil.java
View file @
f0d55c8
| ... | ... | @@ -385,7 +385,7 @@ |
| 385 | 385 | Map<String, Object> tempMap = new HashedMap(); |
| 386 | 386 | tempMap.put("id", basicConfig.getId()); |
| 387 | 387 | tempMap.put("name", basicConfig.getName()); |
| 388 | - tempMap.put("color", RiskDefaultTypeEnum.getColor(parent.getName())); | |
| 388 | + tempMap.put("color", "risk_" + RiskDefaultTypeEnum.getColor(parent.getName())); | |
| 389 | 389 | rest.add(tempMap); |
| 390 | 390 | } |
| 391 | 391 |