|
|
@ -24,7 +24,7 @@ public class HgTest { |
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void hh() throws IOException { |
|
|
|
public void hh() throws IOException { |
|
|
|
List<Object> list = |
|
|
|
List<Object> list = |
|
|
|
EasyExcel.read(new FileInputStream("D:\\test\\number.xlsx")).headRowNumber(0).sheet().doReadSync(); |
|
|
|
EasyExcel.read(new FileInputStream("D:\\test\\折扣2007.xls")).headRowNumber(0).sheet().doReadSync(); |
|
|
|
for (Object data : list) { |
|
|
|
for (Object data : list) { |
|
|
|
LOGGER.info("返回数据:{}", JSON.toJSONString(data)); |
|
|
|
LOGGER.info("返回数据:{}", JSON.toJSONString(data)); |
|
|
|
} |
|
|
|
} |
|
|
|