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 5757 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
5858 <argLine >-Dfile.encoding=UTF-8</argLine >
5959
60- <mybatis-config .version>1.1.0 </mybatis-config .version>
60+ <mybatis-config .version>1.1.1 </mybatis-config .version>
6161 <logback .version>1.2.11</logback .version>
6262 <mybatis .version>3.5.11</mybatis .version>
6363 <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) {
4545 }
4646
4747 public static class GenIdLong implements GenId <Long > {
48+ private static long id = 1000 ;
4849 @ Override
4950 public Long genId (EntityTable table , EntityColumn column ) {
50- return System . currentTimeMillis () & 0xffff ;
51+ return id ++ ;
5152 }
5253 }
5354}
You can’t perform that action at this time.
0 commit comments