|
@@ -133,6 +133,18 @@ public class ExportUtil {
|
|
|
}
|
|
|
}
|
|
|
{
|
|
|
+ sheet.titleColList.add("报警状态");
|
|
|
+ for (int i = 0; i < content.size(); i++) {
|
|
|
+ JSONObject contentItem = content.getJSONObject(i);
|
|
|
+ List<String> contentList = sheet.contentListList.get(i);
|
|
|
+ String cellValue = null;
|
|
|
+ if (contentItem.containsKey("stateName")) {
|
|
|
+ cellValue = contentItem.getString("stateName");
|
|
|
+ }
|
|
|
+ contentList.add(cellValue);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ {
|
|
|
sheet.titleColList.add("报警处理状态");
|
|
|
for (int i = 0; i < content.size(); i++) {
|
|
|
JSONObject contentItem = content.getJSONObject(i);
|
|
@@ -145,7 +157,7 @@ public class ExportUtil {
|
|
|
}
|
|
|
}
|
|
|
{
|
|
|
- sheet.titleColList.add("报警級別");
|
|
|
+ sheet.titleColList.add("报警级别");
|
|
|
for (int i = 0; i < content.size(); i++) {
|
|
|
JSONObject contentItem = content.getJSONObject(i);
|
|
|
List<String> contentList = sheet.contentListList.get(i);
|