Commit 90965f9c583ae34efd29274cdc861ff4e244c253
1 parent
18d5168e
修复低级bug #2906
Showing
1 changed file
with
1 additions
and
1 deletions
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 { |
26 | 26 | */ |
27 | 27 | public static synchronized String getNextYouBianCode(String code) { |
28 | 28 | String newcode = ""; |
29 | - if (code == null || code =="") { | |
29 | + if (oConvertUtils.isEmpty(code)) { | |
30 | 30 | String zimu = "A"; |
31 | 31 | String num = getStrNum(1); |
32 | 32 | newcode = zimu + num; |
... | ... |