|
@@ -16,6 +16,8 @@
|
|
|
package com.baomidou.mybatisplus.core.incrementer;
|
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.KeySequence;
|
|
|
+
|
|
|
/**
|
|
|
* 表主键生成器接口 (sql)
|
|
|
*
|
|
@@ -27,7 +29,7 @@ public interface IKeyGenerator {
|
|
|
/**
|
|
|
* 执行 key 生成 SQL
|
|
|
*
|
|
|
- * @param incrementerName 序列名称
|
|
|
+ * @param incrementerName 序列名称(对应类上注解 {@link KeySequence#value()} 的值)
|
|
|
* @return sql
|
|
|
*/
|
|
|
String executeSql(String incrementerName);
|