diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/entity/Country.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/entity/Country.java index 13bd677bc..d2ec108c5 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/entity/Country.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/business/entity/Country.java @@ -17,4 +17,11 @@ public class Country { this.code = code; this.specialName = specialName; } + + public String getMabangName() { + if (specialName == null || specialName.isEmpty()) { + return nameEn; + } + return specialName; + } }