异常处理。
This commit is contained in:
+10
-4
@@ -719,8 +719,11 @@ public class DocumentSearchServiceImpl implements IDocumentSearchService {
|
||||
|
||||
mapSource.put("state_dictText", state_dictText);
|
||||
|
||||
Long create_time = (Long) mapSource.get("create_time");
|
||||
mapSource.put("create_time_str",DateUtils.formatTime(create_time));
|
||||
String create_time_str = "";
|
||||
if(ObjectUtils.isNotEmpty(mapSource.get("create_time"))){
|
||||
create_time_str = DateUtils.formatTime((Long) mapSource.get("create_time"));
|
||||
}
|
||||
mapSource.put("create_time_str",create_time_str);
|
||||
|
||||
mapList.add(mapSource);
|
||||
}
|
||||
@@ -1464,8 +1467,11 @@ public class DocumentSearchServiceImpl implements IDocumentSearchService {
|
||||
mapSource.put("content","");
|
||||
}*/
|
||||
}
|
||||
Long create_time = (Long) mapSource.get("create_time");
|
||||
mapSource.put("create_time_str",DateUtils.formatTime(create_time));
|
||||
String create_time_str = "";
|
||||
if(ObjectUtils.isNotEmpty(mapSource.get("create_time"))){
|
||||
create_time_str = DateUtils.formatTime((Long) mapSource.get("create_time"));
|
||||
}
|
||||
mapSource.put("create_time_str",create_time_str);
|
||||
mapList.add(mapSource);
|
||||
}
|
||||
|
||||
|
||||
+5
-2
@@ -212,8 +212,11 @@ public class LawsMonthlyReportSearchServiceImpl implements ILawsMonthlyReportSea
|
||||
mapSource.put(key,fieldConyent);
|
||||
}
|
||||
}
|
||||
Long create_time = (Long) mapSource.get("create_time");
|
||||
mapSource.put("create_time_str", DateUtils.formatTime(create_time));
|
||||
String create_time_str = "";
|
||||
if(ObjectUtils.isNotEmpty(mapSource.get("create_time"))){
|
||||
create_time_str = DateUtils.formatTime((Long) mapSource.get("create_time"));
|
||||
}
|
||||
mapSource.put("create_time_str",create_time_str);
|
||||
mapList.add(mapSource);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user