public interface StudentDao extends CustomMapper<Student> {
List<Student> query(Student student);
}
复制代码
5、再进行测试一下
[code] @Transactional //事务注解要加上 @Override public void testBatchCreate() { List list = new ArrayList(); int startIndex = this.lambdaQuery().select(Student::getId).count(); for (int i = 1; i