mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	fix 修复 excel 导入与 class 未对应问题
This commit is contained in:
		@@ -29,7 +29,7 @@ public class ExcelUtil {
 | 
			
		||||
	 * @return 转换后集合
 | 
			
		||||
	 */
 | 
			
		||||
	public static <T> List<T> importExcel(InputStream is, Class<T> clazz) {
 | 
			
		||||
		return EasyExcel.read(is).autoCloseStream(false).sheet().doReadSync();
 | 
			
		||||
		return EasyExcel.read(is).head(clazz).autoCloseStream(false).sheet().doReadSync();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user