Commit ebff7c20 by yangyang

时空标准 案侦查-重点场所(网吧旅店)提交

parent 6abf0599
...@@ -21,10 +21,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -21,10 +21,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.ArrayList; import java.util.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
...@@ -131,9 +128,11 @@ public class TbStAsjServiceImpl extends ServiceImpl<TbStAsjMapper, TbStAsj> impl ...@@ -131,9 +128,11 @@ public class TbStAsjServiceImpl extends ServiceImpl<TbStAsjMapper, TbStAsj> impl
@Override @Override
public Map<String,List<SkPointlocation>> getZdcs(SkPointlocationParams params) { public Map<String,List<SkPointlocation>> getZdcs(SkPointlocationParams params) {
// 1.先通过点位拿到周边所有网吧、旅店信息 // 1.先通过点位拿到周边所有网吧、旅店信息
QueryWrapper queryWrapper = new QueryWrapper(); QueryWrapper queryWrapper = new QueryWrapper();
queryWrapper.eq("isDeleted", "0"); queryWrapper.eq("isDeleted", "0");
List<String> objectTypes= Arrays.asList("wb,ld".split(","));
queryWrapper.in("objectType", objectTypes);
//纬度 //纬度
if (params.getStartLat() != null && !params.getStartLat().equals("")) { if (params.getStartLat() != null && !params.getStartLat().equals("")) {
queryWrapper.ge("CAST(y AS decimal(16,8))", Double.parseDouble(params.getStartLat())); queryWrapper.ge("CAST(y AS decimal(16,8))", Double.parseDouble(params.getStartLat()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment