|
|
|
@ -15,7 +15,6 @@ import java.math.BigDecimal;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 商户经营区域
|
|
|
|
|
* 版本: V3.5
|
|
|
|
|
* 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com)
|
|
|
|
@ -40,7 +39,7 @@ public class IStationAreaServiceImpl extends ServiceImpl<StationAreaMapper, Stat
|
|
|
|
|
|
|
|
|
|
for (StationArea area : areas) {
|
|
|
|
|
String mapInfo = area.getAreaMapInfo();
|
|
|
|
|
if(StringUtils.hasText(mapInfo)&& AreaUtil.isInsidePolygon(mapInfo, lng, lat)){
|
|
|
|
|
if (StringUtils.hasText(mapInfo) && AreaUtil.isInsidePolygon(mapInfo, lat, lng)) {
|
|
|
|
|
return area;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|