| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -201,7 +201,8 @@ public class ExcelUtil<T> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    // 设置类的私有字段属性可访问.
 | 
					 | 
					 | 
					 | 
					                    // 设置类的私有字段属性可访问.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    field.setAccessible(true); | 
					 | 
					 | 
					 | 
					                    field.setAccessible(true); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    Integer column = cellMap.get(attr.name()); | 
					 | 
					 | 
					 | 
					                    Integer column = cellMap.get(attr.name()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    if(column !=null ) { // 字段在excel 中没有,那么就不需要设置值
 | 
					 | 
					 | 
					 | 
					                    if (column != null) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        fieldsMap.put(column, field); | 
					 | 
					 | 
					 | 
					                        fieldsMap.put(column, field); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    } | 
					 | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
					                } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -897,15 +898,7 @@ public class ExcelUtil<T> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    } | 
					 | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    else | 
					 | 
					 | 
					 | 
					                    else | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    { | 
					 | 
					 | 
					 | 
					                    { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											/* if ((Double) val % 1 > 0) | 
					 | 
					 | 
					 | 
					                        val = new BigDecimal(val.toString()); // 浮点格式处理
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											{ | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											    val = new DecimalFormat("0.00").format(val); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											} | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											else | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											{ | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											    val = new DecimalFormat("0").format(val); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
											}*/ | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    	val = new BigDecimal(val.toString()); // 导入的数据保证原汁原味,不做处理
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    } | 
					 | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
					                } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                else if (cell.getCellTypeEnum() == CellType.STRING) | 
					 | 
					 | 
					 | 
					                else if (cell.getCellTypeEnum() == CellType.STRING) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |