Commit bc194c3568656b2bfe4600288904637f557f3065

Authored by liquanyu
1 parent 701803473f

update code

Showing 1 changed file with 2 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java View file @ bc194c3
... ... @@ -602,11 +602,12 @@
602 602 BaseListResponse listRep = (BaseListResponse) findList(antExManagerQueryRequest, id, b, null);
603 603 List<Map<String, Object>> datas = new ArrayList<>();
604 604 try {
605   - Map<String, Object> data = new HashMap<>();
  605 +
606 606 if (listRep != null) {
607 607 List<AntExManagerResult> list = listRep.getData();
608 608 if (CollectionUtils.isNotEmpty(list)) {
609 609 for (AntExManagerResult aer : list) {
  610 + Map<String, Object> data = new HashMap<>();
610 611 data.put("checkTime", aer.getCheckTime());
611 612 data.put("name", aer.getName());
612 613 data.put("age", aer.getAge());