|
@@ -36,7 +36,7 @@ public class AppVictimController {
|
|
|
Integer pageSize = pageDomain.getPageSize();
|
|
|
String type = victim.getType();
|
|
|
TableDataInfo list = victimService.getList(pageNum, pageSize, type);
|
|
|
- Map<String, Object> certificateCode = DictUtils.getDictCacheToMap("comprehensive_certificate_code");//证件代码
|
|
|
+ Map<String, Object> certificateCode = DictUtils.getDictCacheToMap(DictKeys.COMPREHENSIVE_CERTIFICATE_CODE);//证件代码
|
|
|
Map<String, Object> sex = DictUtils.getDictCacheToMap(DictKeys.COMPREHENSIVE_SEX);//性别
|
|
|
|
|
|
|
|
@@ -86,7 +86,7 @@ public class AppVictimController {
|
|
|
if("200".equals(edit.get("code").toString())){
|
|
|
HashMap<String,Object> data = (HashMap<String, Object>) edit.get("data");
|
|
|
|
|
|
- data.put("identityCodeLabel",DictUtils.getDictDataByValue("comprehensive_certificate_code",data.get("identityCode").toString()));
|
|
|
+ data.put("identityCodeLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_CERTIFICATE_CODE,data.get("identityCode").toString()));
|
|
|
data.put("genderLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_SEX,data.get("gender").toString()));
|
|
|
data.put("nationalityRegionLabel",null == data.get("nationalityRegion")? "":DictUtils.getDictDataByValue("comprehensive_internation",data.get("nationalityRegion").toString()));
|
|
|
data.put("nationLabel",null == data.get("nation")? "":DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_NATION,data.get("nation").toString()));
|