| 
					
				 | 
			
			
				@@ -184,6 +184,11 @@ public class TAssetsServiceImpl implements ITAssetsService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             cell.setCellType(CellType.STRING); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             if (StringUtils.isNotEmpty(cell.getStringCellValue())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 assets.setfCode(cell.getStringCellValue()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                TAssets tAssets = new TAssets(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                tAssets.setfCode(cell.getStringCellValue()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                if (tAssetsMapper.selectTAssetsList(tAssets).size()>0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                    return AjaxResult.error(cell.getStringCellValue()+"编码已存在,上传失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         default: 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -197,6 +202,6 @@ public class TAssetsServiceImpl implements ITAssetsService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return AjaxResult.error("上传文件失败,请检查文件是否损坏"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return AjaxResult.success(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return AjaxResult.success("操作成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |