使用POI导入Excel数据到数据库

从Excelpublic class ReadExcel     

思路:

1:把Excel导成List<Map<String, String>>的格式;

2:把List<Map<String, String>>中的Map转成具体的Object,再放入一个List中,再批量擦入到数据库。                                                                                                                                                        

猜你喜欢

转载自www.cnblogs.com/sean-zeng/p/10232421.html