|  | @@ -717,10 +717,15 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods>  implement
 | 
	
		
			
				|  |  |  							}
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  					} else {
 | 
	
		
			
				|  |  | -						if ("image".equals(fieldCode) && value instanceof List) { // 图片数组 取第一个
 | 
	
		
			
				|  |  | -							Object data = ((List<?>) value).get(0);
 | 
	
		
			
				|  |  | -							if (data instanceof PictureData) {
 | 
	
		
			
				|  |  | -								value = ((PictureData) data).getData();
 | 
	
		
			
				|  |  | +						if ("image".equals(fieldCode)) { // 图片数组 取第一个
 | 
	
		
			
				|  |  | +							if (value instanceof List) {
 | 
	
		
			
				|  |  | +								Object data = ((List<?>) value).get(0);
 | 
	
		
			
				|  |  | +								if (data instanceof PictureData) {
 | 
	
		
			
				|  |  | +									value = ((PictureData) data).getData();
 | 
	
		
			
				|  |  | +								}
 | 
	
		
			
				|  |  | +							} else {
 | 
	
		
			
				|  |  | +								lineErrList.add("图片格式错误");
 | 
	
		
			
				|  |  | +								continue;
 | 
	
		
			
				|  |  |  							}
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  						beforeGoods.put(fieldCode, value);
 | 
	
	
		
			
				|  | @@ -1456,7 +1461,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods>  implement
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		String format = new SimpleDateFormat("yyyyMMddHHmmss").format(new Date());
 | 
	
		
			
				|  |  | -		File file = createImportGoodsTempFile(format + ".csv");
 | 
	
		
			
				|  |  | +		File file = createImportGoodsTempFile("商品导入回执" + format + ".csv");
 | 
	
		
			
				|  |  |  		try {
 | 
	
		
			
				|  |  |  			FileOutputStream out = new FileOutputStream(file);
 | 
	
		
			
				|  |  |  			byte[] uft8bom = {(byte) 0xef, (byte) 0xbb, (byte) 0xbf}; // 处理乱码
 |