| | |
| | | |
| | | @Override |
| | | @Transactional |
| | | public Map<String, Object> dailyDustlds(List<MultipartFile> file,Map<String, Object> params) { |
| | | public Map<String, Object> dailyDustlds(Map<String, Object> params) { |
| | | |
| | | Map<String, Object> userInfo = (Map<String, Object>) TokenUtils.getUserInfo(); |
| | | Map<String, Object> orgInfo = (Map<String, Object>) userInfo.get("organization"); |
| | |
| | | HashMap<String, Object> rsMap = new HashMap<>(); |
| | | List<Map<String, Object>> dusts = historySecondCruiserMapper.getDusts(params); |
| | | Map<String, List<DustldDTO>> collect = manageCoordinateMapper.CompareTo(orgId).stream().collect(Collectors.groupingBy(o -> o.getName())); |
| | | if (ObjectUtils.isEmpty(dusts) || ObjectUtils.isEmpty(collect)){ |
| | | return null; |
| | | } |
| | | Set<String> strings = collect.keySet(); |
| | | ArrayList<DustForm> list1 = new ArrayList<>(); |
| | | //所有的高值路段 |
| | |
| | | } |
| | | } |
| | | } |
| | | rsMap.put("data",builder); |
| | | rsMap.put("data",ObjectUtils.isEmpty(builder)?"暂无高值路段":builder); |
| | | rsMap.put("list3",list3); |
| | | rsMap.put("time",rsTime1+"-"+rsTime2); |
| | | rsMap.put("date1",dateString3.substring(5,10)); |