IP配置导出提交

This commit is contained in:
wangxin
2018-07-03 14:55:36 +08:00
parent abe373ced3
commit c74e75f306
14 changed files with 224 additions and 31 deletions

View File

@@ -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验证正则
*/

View File

@@ -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);
}
}