Skip to content

Commit 858032e

Browse files
committed
Example中的andIn和andNotIn中的参数Collection改为Iterable
1 parent a2f4698 commit 858032e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/tk/mybatis/mapper/entity/Example.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,12 +375,12 @@ public Criteria andLessThanOrEqualTo(String property, Object value) {
375375
return (Criteria) this;
376376
}
377377

378-
public Criteria andIn(String property, Collection<?> values) {
378+
public Criteria andIn(String property, Iterable values) {
379379
addCriterion(column(property) + " in", values, property(property));
380380
return (Criteria) this;
381381
}
382382

383-
public Criteria andNotIn(String property, Collection<?> values) {
383+
public Criteria andNotIn(String property, Iterable values) {
384384
addCriterion(column(property) + " not in", values, property(property));
385385
return (Criteria) this;
386386
}

0 commit comments

Comments
 (0)