IP配置导出提交
This commit is contained in:
@@ -7,6 +7,14 @@ import java.util.Map;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
||||
public final class Constants {
|
||||
/**
|
||||
* 配置审核下发的类型 maat类型
|
||||
*/
|
||||
public static final int MAAT_TYPE=1;
|
||||
/**
|
||||
* 配置审核下发的类型 回调类型
|
||||
*/
|
||||
public static final int CALLBACK_TYPE=2;
|
||||
/**
|
||||
* IP验证正则
|
||||
*/
|
||||
|
||||
@@ -524,7 +524,9 @@ public class ExportExcel {
|
||||
val = getBasicInfo(ef.dictType(),map,valStr);
|
||||
}else{
|
||||
//字典数据已做国际化处理
|
||||
val = msgProp.get(DictUtils.getDictLabel(ef.dictType(), valStr, ""));
|
||||
String dict=DictUtils.getDictLabel(ef.dictType(), valStr, "");
|
||||
//如果找不到字典国际化值,把字典本身作为默认值放进去,不然导出就是空了
|
||||
val = msgProp.getProperty(dict,dict);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user