mirror of https://github.com/jeecgboot/jeecg-boot
Add method getMabangName to return special name or zh name if no special name
parent
0dc6400924
commit
631dbc2c32
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue