wuwenyi 2 недель назад
Родитель
Сommit
c71779eb73
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/main/java/com/qqflow/engine/common/util/id/GenLong15Util.java

+ 2 - 2
src/main/java/com/qqflow/engine/common/util/id/GenLong15Util.java

@@ -24,9 +24,9 @@ public class GenLong15Util {
     }
     }
 
 
     private static void checkAndInit() {
     private static void checkAndInit() {
-        if (machineCode == null) {
+        if (recordSecond == null) {
             synchronized (GenLong15Util.class) {
             synchronized (GenLong15Util.class) {
-                if (machineCode == null) {
+                if (recordSecond == null) {
                     initData();
                     initData();
                 }
                 }
             }
             }