Skip to content

Commit

Permalink
update save List
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreampie committed Mar 4, 2016
1 parent c1093b8 commit 15b4332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resty-orm/src/main/java/cn/dreampie/orm/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -755,9 +755,9 @@ public boolean save(List<M> models) {

String[] columns;
if (generated) {
columns = getModifyAttrNames(generatedKey);
columns = firstModel.getModifyAttrNames(generatedKey);
} else {
columns = getModifyAttrNames();
columns = firstModel.getModifyAttrNames();
}

//判断是否有更新
Expand Down

0 comments on commit 15b4332

Please sign in to comment.