map中null字段 导出失败 解决办法

//判断null字段

for (Map.Entry<String, Object> entry:m.entrySet()) {
					if (entry.getValue()==null) {
						entry.setValue("");
					}
				}

猜你喜欢

转载自blog.csdn.net/Clarence_Pang/article/details/84852790