分发到阀门map取值问题bug修改
This commit is contained in:
@@ -1312,11 +1312,10 @@ public class ConfigSourcesService extends BaseService {
|
|||||||
listMaps.addAll((List<Map<String, String>>) object);
|
listMaps.addAll((List<Map<String, String>>) object);
|
||||||
String [] fields = regionAndFiledMap.get(regionName);
|
String [] fields = regionAndFiledMap.get(regionName);
|
||||||
for (String fieldName : fields) {
|
for (String fieldName : fields) {
|
||||||
fieldName = CamelUnderlineUtil.underlineToCamel(fieldName.toLowerCase());
|
String value = newMaatConfig.getCompileMap().get(fieldName.toLowerCase());
|
||||||
String value = newMaatConfig.getCompileMap().get(fieldName);
|
|
||||||
if (!StringUtil.isEmpty(value)) {
|
if (!StringUtil.isEmpty(value)) {
|
||||||
for (Map<String, String> map: listMaps) {
|
for (Map<String, String> map: listMaps) {
|
||||||
map.put(fieldName, value);
|
map.put(fieldName.toLowerCase(), value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user