File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/test/java/io/mybatis/provider/model Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 57
57
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
58
58
<argLine >-Dfile.encoding=UTF-8</argLine >
59
59
60
- <mybatis-config .version>1.1.0 </mybatis-config .version>
60
+ <mybatis-config .version>1.1.1 </mybatis-config .version>
61
61
<logback .version>1.2.11</logback .version>
62
62
<mybatis .version>3.5.11</mybatis .version>
63
63
<lombok .version>1.18.22</lombok .version>
Original file line number Diff line number Diff line change @@ -45,9 +45,10 @@ public void setUsername(String username) {
45
45
}
46
46
47
47
public static class GenIdLong implements GenId <Long > {
48
+ private static long id = 1000 ;
48
49
@ Override
49
50
public Long genId (EntityTable table , EntityColumn column ) {
50
- return System . currentTimeMillis () & 0xffff ;
51
+ return id ++ ;
51
52
}
52
53
}
53
54
}
You can’t perform that action at this time.
0 commit comments