|
|
@@ -11,7 +11,7 @@ import com.goafanti.common.utils.LoggerUtils;
|
|
|
import com.goafanti.common.utils.StringUtils;
|
|
|
|
|
|
/**
|
|
|
- *
|
|
|
+ *
|
|
|
* @author xiaolong
|
|
|
*
|
|
|
*/
|
|
|
@@ -71,7 +71,6 @@ public class JDBCIdGenerator {
|
|
|
* 工作进程Id
|
|
|
*/
|
|
|
public static void setWorkerId(final Long workerId) {
|
|
|
- LoggerUtils.debug(logger, "工作进程ID:[%s]", workerId);
|
|
|
Assert.isTrue(workerId > 0L && workerId < WORKER_ID_MAX_VALUE, "工作进程ID不能为空,且小于1024");
|
|
|
JDBCIdGenerator.workerId = workerId;
|
|
|
}
|
|
|
@@ -108,4 +107,4 @@ public class JDBCIdGenerator {
|
|
|
}
|
|
|
return time;
|
|
|
}
|
|
|
-}
|
|
|
+}
|