1.map中添加数组可以不用新建而直接添加
前:
//取出数据,转成字符串类型
String file = (String)taskInfo.get("scene_files");
//分隔成数组
String [] files=file.split(",");
//放回map
taskInfo.put("scene_files",files);
后:
taskInfo.put("scene_files",((String) taskInfo.get("scene_files")).split(","));