diff --git a/jeecg-boot/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/YouBianCodeUtil.java b/jeecg-boot/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/YouBianCodeUtil.java index ede4fae..5683e77 100644 --- a/jeecg-boot/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/YouBianCodeUtil.java +++ b/jeecg-boot/jeecg-boot-base/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/YouBianCodeUtil.java @@ -26,7 +26,7 @@ public class YouBianCodeUtil { */ public static synchronized String getNextYouBianCode(String code) { String newcode = ""; - if (code == null || code =="") { + if (oConvertUtils.isEmpty(code)) { String zimu = "A"; String num = getStrNum(1); newcode = zimu + num;