Skip to content

Commit 7f00d0b

Browse files
committed
Java: SQLConfig 也指定主键泛型
1 parent 8480086 commit 7f00d0b

File tree

1 file changed

+1
-1
lines changed
  • APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo

1 file changed

+1
-1
lines changed

APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo/DemoSQLConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* https://github.com/Tencent/APIJSON/blob/master/%E8%AF%A6%E7%BB%86%E7%9A%84%E8%AF%B4%E6%98%8E%E6%96%87%E6%A1%A3.md#c-1-1%E4%BF%AE%E6%94%B9%E6%95%B0%E6%8D%AE%E5%BA%93%E9%93%BE%E6%8E%A5
4242
* @author Lemon
4343
*/
44-
public class DemoSQLConfig extends APIJSONSQLConfig {
44+
public class DemoSQLConfig extends APIJSONSQLConfig<Long> {
4545

4646
public DemoSQLConfig() {
4747
super();

0 commit comments

Comments
 (0)