zhouhao 7 سال پیش
والد
کامیت
4a1e2225b7

+ 1 - 1
hsweb-boost/hsweb-boost-excel/src/main/java/org/hswebframework/web/excel/DefaultExcelImporter.java

@@ -212,7 +212,7 @@ public class DefaultExcelImporter implements ExcelImporter {
 
                 HeaderMapping mapping = headerMapper.getMapping(key).orElse(null);
 
-                if (mapping == null) {
+                if (mapping == null || !mapping.enableImport) {
                     continue;
                 }