Commit 68081979 authored by luben's avatar luben

Merge branch 'dev' into 'main'

Dev

See merge request !159
parents b0dcb4c3 fd34cd25
Pipeline #143452 passed with stages
in 6 minutes and 34 seconds
......@@ -39,7 +39,7 @@ public class MapEntityServiceImpl implements MapEntityService {
criteria.andLevelEqualTo(level);
criteria.andWgTypeEqualTo("1");
List<GridRegion> gridRegionList = gridRegionMapper.selectByExample(example);
List<GridRegion> gridRegionList = gridRegionMapper.selectByExampleWithBLOBs(example);
List<MapEntity> mapEntityList = new ArrayList<>();
for (GridRegion gridRegion : gridRegionList) {
MapEntity mapEntity = new MapEntity();
......@@ -49,7 +49,7 @@ public class MapEntityServiceImpl implements MapEntityService {
mapEntity.setEntityLevel(new Integer(gridRegion.getLevel()));
mapEntity.setEntityName(gridRegion.getWgName());
mapEntity.setParentEntity(gridRegion.getWgParentId());
mapEntity.setEntityScope(gridRegion.getWgArea());
mapEntity.setEntityScope(gridRegion.getWgCoordinate());
mapEntity.setCoordinateAddress(gridRegion.getWgCentreCoordinate());
mapEntity.setValid(1);
mapEntity.setQrCode(gridRegion.getWgPrincipal());
......
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