1、思路:使用jxl 解析 excel表格,返回 list集合数倌栗受绽据, 拆分集合 进行批量插入数据库;1.首先Dao mapper 层:
3、使用jxl解析 excel文件 得到list:
5、最后 控制台打印: