| | |
| | | String detectionStandard = (String)map.get("detectionStandard"); |
| | | List<Map<String, Object>> record = inspectionOrderService.findDayInspectionStandardProject(equipmentNum,name, detectionStandard,dataTime); |
| | | List<InspectionResultVo> listS = new ArrayList<>(); |
| | | |
| | | for (Map<String, Object> r : record) { |
| | | |
| | | if(maps.size()>0){ |
| | | Boolean flag = false; |
| | | for (Map<String, Object> map1 : maps) { |
| | | if(map1.containsValue(r.get("name")) && map1.containsValue(r.get("detectionStandard"))){ |
| | | // map1.put(r.get("dayTime").toString(),r.get("insResult")); |
| | | map1.put(r.get("dayTime").toString(),r.get("insResult")); |
| | | flag = true; |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)r.get("dayTime")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)r.get("weekOfMonth")); |
| | | inspectionResultVo.setInsResult((String)r.get("insResult")); |
| | | listS.add(inspectionResultVo); |
| | | |
| | |
| | | // hashMap.put(r.get("dayTime").toString(),r.get("insResult")); |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)r.get("dayTime")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)r.get("weekOfMonth")); |
| | | inspectionResultVo.setInsResult((String)r.get("insResult")); |
| | | listS.add(inspectionResultVo); |
| | | maps.add(hashMap); |
| | |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)r.get("dayTime")); |
| | | inspectionResultVo.setInsResult((String)r.get("insResult")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)r.get("weekOfMonth")); |
| | | listS.add(inspectionResultVo); |
| | | hashMap.put("dataList",listS); |
| | | |
| | |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)map.get("dayTime")); |
| | | inspectionResultVo.setInspectionUserName((String)map.get("inspectionUserName")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)map.get("weekOfMonth")); |
| | | listIn.add(inspectionResultVo); |
| | | |
| | | map1.put("dataList",listIn); |
| | |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)map.get("dayTime")); |
| | | inspectionResultVo.setInspectionUserName((String)map.get("inspectionUserName")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)map.get("weekOfMonth")); |
| | | listIn.add(inspectionResultVo); |
| | | hashMap.put("dataList",listIn); |
| | | } |
| | |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)map.get("dayTime")); |
| | | inspectionResultVo.setInspectionUserName((String)map.get("inspectionUserName")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)map.get("weekOfMonth")); |
| | | listIn.add(inspectionResultVo); |
| | | hashMap.put("dataList",listIn); |
| | | |
| | |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)map.get("dayTime")); |
| | | inspectionResultVo.setRepairConfirmPerson((String)map.get("repairConfirmPerson")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)map.get("weekOfMonth")); |
| | | listRe.add(inspectionResultVo); |
| | | |
| | | map1.put("dataList",listRe); |
| | |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)map.get("dayTime")); |
| | | inspectionResultVo.setRepairConfirmPerson((String)map.get("repairConfirmPerson")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)map.get("weekOfMonth")); |
| | | listRe.add(inspectionResultVo); |
| | | hashMap.put("dataList",listRe); |
| | | } |
| | |
| | | InspectionResultVo inspectionResultVo = new InspectionResultVo(); |
| | | inspectionResultVo.setDayTime((String)map.get("dayTime")); |
| | | inspectionResultVo.setRepairConfirmPerson((String)map.get("repairConfirmPerson")); |
| | | inspectionResultVo.setWeekOfMonth((Integer)map.get("weekOfMonth")); |
| | | listRe.add(inspectionResultVo); |
| | | hashMap.put("dataList",listRe); |
| | | |