fix:创建ID问题修改
This commit is contained in:
@@ -2,7 +2,7 @@ package org.nl.wms.util;
|
|||||||
|
|
||||||
public class IdUtil {
|
public class IdUtil {
|
||||||
public static Long getLongId() {
|
public static Long getLongId() {
|
||||||
return IdUtil.getLongId();
|
return cn.hutool.core.util.IdUtil.getSnowflake(1, 1).nextId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getStringId() {
|
public static String getStringId() {
|
||||||
|
|||||||
Reference in New Issue
Block a user