Browse Source

TODO 搜索定位查询

Simon 1 year ago
parent
commit
a5e1f18895

+ 10 - 1
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TSearchLocationInfoServiceImpl.java

@@ -2,6 +2,7 @@ package com.ruoyi.system.service.impl;
 
 import java.util.ArrayList;
 import java.util.List;
+import java.util.stream.Collectors;
 
 import com.ruoyi.common.exception.ServiceException;
 import com.ruoyi.common.utils.DateUtils;
@@ -119,6 +120,14 @@ public class TSearchLocationInfoServiceImpl implements ITSearchLocationInfoServi
         }
         //查询内容
         String searchValue = tSearchLocationInfo.getSearchValue();
-        return tSearchLocationInfoMapper.selectSearchLocationInfoVoBySearchValue(searchValue);
+        List<SearchLocationInfoVo> searchLocationInfoVoList = tSearchLocationInfoMapper.selectSearchLocationInfoVoBySearchValue(searchValue);
+//        searchLocationInfoVoList.stream()
+//                .filter(predicate -> {
+//                    if (predicate.getDeviceIdCode() > 0) {
+//
+//                    }
+//                })
+//                .collect(Collectors.toList());
+        return searchLocationInfoVoList;
     }
 }