|  | @ -335,13 +335,6 @@ public class DeviceManageEndpoint extends EnvelopRestEndpoint {
 | 
												
													
														
															|  |             map.put("failedNum", rows-1 - correctLs.size() );
 |  |             map.put("failedNum", rows-1 - correctLs.size() );
 | 
												
													
														
															|  |             map.put("errorData", JSON.toJSONString(errorMsgMapTotal, SerializerFeature.WriteMapNullValue));
 |  |             map.put("errorData", JSON.toJSONString(errorMsgMapTotal, SerializerFeature.WriteMapNullValue));
 | 
												
													
														
															|  |             map.put("errorData", errorLs);
 |  |             map.put("errorData", errorLs);
 | 
												
													
														
															|  |             //失败数据下载
 |  | 
 | 
												
													
														
															|  |             if (errorLs.size()>0){
 |  | 
 | 
												
													
														
															|  |                 response.setContentType("octets/stream");
 |  | 
 | 
												
													
														
															|  |                 response.setHeader("Content-Disposition", "attachment; filename=" + new String("deviceImport.xls"));
 |  | 
 | 
												
													
														
															|  |                 OutputStream os = response.getOutputStream();
 |  | 
 | 
												
													
														
															|  |                 deviceManageService.write(os, errorLs);
 |  | 
 | 
												
													
														
															|  |             }
 |  | 
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |             return ObjEnvelop.getSuccess("success",JSON.toJSONString(map,SerializerFeature.WriteMapNullValue));
 |  |             return ObjEnvelop.getSuccess("success",JSON.toJSONString(map,SerializerFeature.WriteMapNullValue));
 | 
												
													
														
															|  |         } catch (Exception e) {
 |  |         } catch (Exception e) {
 |