Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yichengstreet-be
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yichengstreet
yichengstreet-be
Commits
68081979
Commit
68081979
authored
Mar 19, 2025
by
luben
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'main'
Dev See merge request
!159
parents
b0dcb4c3
fd34cd25
Pipeline
#143452
passed with stages
in 6 minutes and 34 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MapEntityServiceImpl.java
...ruoyi/system/service/other/impl/MapEntityServiceImpl.java
+2
-2
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/service/other/impl/MapEntityServiceImpl.java
View file @
68081979
...
@@ -39,7 +39,7 @@ public class MapEntityServiceImpl implements MapEntityService {
...
@@ -39,7 +39,7 @@ public class MapEntityServiceImpl implements MapEntityService {
criteria
.
andLevelEqualTo
(
level
);
criteria
.
andLevelEqualTo
(
level
);
criteria
.
andWgTypeEqualTo
(
"1"
);
criteria
.
andWgTypeEqualTo
(
"1"
);
List
<
GridRegion
>
gridRegionList
=
gridRegionMapper
.
selectByExample
(
example
);
List
<
GridRegion
>
gridRegionList
=
gridRegionMapper
.
selectByExample
WithBLOBs
(
example
);
List
<
MapEntity
>
mapEntityList
=
new
ArrayList
<>();
List
<
MapEntity
>
mapEntityList
=
new
ArrayList
<>();
for
(
GridRegion
gridRegion
:
gridRegionList
)
{
for
(
GridRegion
gridRegion
:
gridRegionList
)
{
MapEntity
mapEntity
=
new
MapEntity
();
MapEntity
mapEntity
=
new
MapEntity
();
...
@@ -49,7 +49,7 @@ public class MapEntityServiceImpl implements MapEntityService {
...
@@ -49,7 +49,7 @@ public class MapEntityServiceImpl implements MapEntityService {
mapEntity
.
setEntityLevel
(
new
Integer
(
gridRegion
.
getLevel
()));
mapEntity
.
setEntityLevel
(
new
Integer
(
gridRegion
.
getLevel
()));
mapEntity
.
setEntityName
(
gridRegion
.
getWgName
());
mapEntity
.
setEntityName
(
gridRegion
.
getWgName
());
mapEntity
.
setParentEntity
(
gridRegion
.
getWgParentId
());
mapEntity
.
setParentEntity
(
gridRegion
.
getWgParentId
());
mapEntity
.
setEntityScope
(
gridRegion
.
getWg
Area
());
mapEntity
.
setEntityScope
(
gridRegion
.
getWg
Coordinate
());
mapEntity
.
setCoordinateAddress
(
gridRegion
.
getWgCentreCoordinate
());
mapEntity
.
setCoordinateAddress
(
gridRegion
.
getWgCentreCoordinate
());
mapEntity
.
setValid
(
1
);
mapEntity
.
setValid
(
1
);
mapEntity
.
setQrCode
(
gridRegion
.
getWgPrincipal
());
mapEntity
.
setQrCode
(
gridRegion
.
getWgPrincipal
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment