修复BeanUtil.copyProperties中mapToMap时key被转为String问题

This commit is contained in:
Looly
2024-07-06 11:36:34 +08:00
parent 2fffc07c0f
commit ca16ad9f1d
15 changed files with 84 additions and 33 deletions

View File

@@ -648,7 +648,7 @@ public class SoapClient implements HeaderOperation<SoapClient> {
Entry entry;
for (final Object obj : ((Map) value).entrySet()) {
entry = (Entry) obj;
setParam(childEle, entry.getKey().toString(), entry.getValue(), prefix);
setParam(childEle, StrUtil.toStringOrNull(entry.getKey()), entry.getValue(), prefix);
}
} else {
// 单个值