@Test
    public void genericHeaderTypeRead() {
        String fileName = TestFileUtil.getPath() + "demo" + File.separator + "generic-demo.xlsx";
        // Simulate obtaining the Excel header's Class<?> object through any possible means
        Class<?> excelHeaderClass = DemoDataAnother.class;
        EasyExcel.read(fileName, excelHeaderClass, GenericHeaderTypeDataListener.build(excelHeaderClass)).sheet().doRead();
    }
Simulate saving data to the database
fastexcel-test/src/test/java/cn/idev/excel/test/demo/read/ReadTest.java