|
|
|
@ -164,7 +164,7 @@ public class CleanServiceImpl implements CleanService, ManagerTodoNoticeProvider
|
|
|
|
|
List<JSONObject> topReports = new ArrayList<>();
|
|
|
|
|
for (JSONObject report : reports) {
|
|
|
|
|
JSONObject item = new JSONObject();
|
|
|
|
|
item.put("date", DateFormatUtils.format(item.getDate("valid_date"), "yyyy/MM/dd"));
|
|
|
|
|
item.put("date", DateFormatUtils.format(report.getDate("valid_date"), "yyyy/MM/dd"));
|
|
|
|
|
JSONObject result = JSON.parseObject(report.getString("result"));
|
|
|
|
|
item.put("success", result.getBooleanValue("valid"));
|
|
|
|
|
topReports.add(item);
|
|
|
|
|