跳到主要内容

第三课 excel导入导出、使用本地 Java类、模块

知识点

练习题

  1. excel导入店铺信息,并插入数据库观看视频

    • 用【读取excel】组件,导入shopList.xlsx文件,得到 shopList。
    • 用【添加】组件,批量添加 shopList 到数据库,要求每批次 2 条。
  2. 查询商品列表,导出 excel观看视频

    • 用【批量查询】组件,查询商品列表得到 itemList。
    • 用【写入excel】组件,导出excel文件:itemList.xlsx。