Skip to content

Commit

Permalink
新增批量插入顶点非空属性insertSelectiveBatch()函数
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangjq-K committed May 16, 2024
1 parent 82ca247 commit adf6880
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,12 @@ public void insertSelectiveBatch() {
people.add(person1);
people.add(person2);
people.add(person3);

repository.insertSelectiveBatch(people);
}

@Test
public void insertSelectiveBatchMultiTag(){
public void insertSelectiveBatchMultiTag() {
Employee employee1 = new Employee();
employee1.setName("职员1");
employee1.setGender("F");
Expand All @@ -253,8 +255,8 @@ public void insertSelectiveBatchMultiTag(){
employees.add(employee1);
employees.add(employee2);
employees.add(employee3);
repository.insertSelectiveBatch(employees);

repository.insertSelectiveBatch(employees);
}
// endregion

Expand Down

0 comments on commit adf6880

Please sign in to comment.