JAVA日报

excel(start)

package test;

import bean.item;
import dao.ExcelDao;
import dao.ItemDao;
import jxl.read.biff.BiffException;

import java.io.IOException;
import java.sql.SQLException;

public class start {
public static void main(String[] args) throws BiffException, SQLException, IOException, ClassNotFoundException {
System.out.println(ExcelDao.getAlldatainfos().size());
for(item a:ExcelDao.getAlldatainfos()){
ItemDao.add(a);
}
}
}
posted @ 2021-12-13 21:13  我的未来姓栗山  阅读(17)  评论(0编辑  收藏  举报