导出数据方法setDataList增加国际化配置参数
修改所有字典展示取值itemDesc为itemValue
This commit is contained in:
@@ -126,6 +126,12 @@ public class DictUtils {
|
||||
return getDictLabel(dictKey, itemCode, "默认");
|
||||
}
|
||||
|
||||
/*public static String getDictLabel(String dictKey, String itemCode, String itemValue){
|
||||
String itemLabel = getDictOption(dictKey).get(itemCode);
|
||||
|
||||
return StringUtil.isBlank(itemLabel) ? defaultValue : itemLabel;
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
public static String getDictCode(String dictKey, String itemValue, String defaultValue){
|
||||
|
||||
Reference in New Issue
Block a user