File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed
src/main/java/com/github/abel533 Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change 24
24
25
25
package com .github .abel533 .mapper ;
26
26
27
- import com .github .abel533 .mapper .base .BaseDeleteMapper ;
28
- import com .github .abel533 .mapper .base .BaseInsertMapper ;
29
- import com .github .abel533 .mapper .base .BaseSelectMapper ;
30
- import com .github .abel533 .mapper .base .BaseUpdateMapper ;
31
27
import com .github .abel533 .mapper .example .ExampleMapper ;
32
28
33
29
/**
41
37
* @author liuzh
42
38
*/
43
39
public interface Mapper <T > extends
44
- BaseSelectMapper <T >,
45
- BaseInsertMapper <T >,
46
- BaseUpdateMapper <T >,
47
- BaseDeleteMapper <T >,
48
- ExampleMapper <T > {
40
+ BaseMapper <T >,
41
+ ExampleMapper <T >,
42
+ RowBoundsMapper <T > {
49
43
50
44
}
Original file line number Diff line number Diff line change @@ -94,6 +94,16 @@ public SqlNode select(MappedStatement ms) {
94
94
return new MixedSqlNode (sqlNodes );
95
95
}
96
96
97
+ /**
98
+ * 查询
99
+ *
100
+ * @param ms
101
+ * @return
102
+ */
103
+ public SqlNode selectByRowBounds (MappedStatement ms ) {
104
+ return select (ms );
105
+ }
106
+
97
107
/**
98
108
* 根据主键进行查询
99
109
*
@@ -445,6 +455,16 @@ public SqlNode selectByExample(MappedStatement ms) {
445
455
return new MixedSqlNode (sqlNodes );
446
456
}
447
457
458
+ /**
459
+ * 根据Example查询
460
+ *
461
+ * @param ms
462
+ * @return
463
+ */
464
+ public SqlNode selectByExampleAndRowBounds (MappedStatement ms ) {
465
+ return selectByExample (ms );
466
+ }
467
+
448
468
/**
449
469
* 根据Example更新非null字段
450
470
*
You can’t perform that action at this time.
0 commit comments