将数据库中的数据导出为excel文件,供其他人查看 public class POITest { public static void main(String[] args) { POITest test = new POITest(); // test.readExcelToDB(); test.writeExcelFromDB(); } static class Book{ public String title; public String author; public String da…