forked from fanruan/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
460 B
15 lines
460 B
package com.alibaba.easyexcel.test.demo.read; |
|
|
|
import java.util.List; |
|
|
|
/** |
|
* 假设这个是你的DAO存储。当然还要这个类让spring管理,当然你不用需要存储,也不需要这个类。 |
|
* |
|
* @author Jiaju Zhuang |
|
**/ |
|
public class DemoDAO { |
|
|
|
public void save(List<DemoData> list) { |
|
// 如果是mybatis,尽量别直接调用多次insert,自己写一个mapper里面新增一个方法batchInsert,所有数据一次性插入 |
|
} |
|
}
|
|
|