Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 559121e8
authored
Aug 04, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp2jpa
1 parent
d94a3c48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/BusinessBlockServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/BusinessBlockServiceImpl.java
View file @
559121e
...
@@ -35,9 +35,6 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
...
@@ -35,9 +35,6 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
private
MapBlockInfoMPDao
mapBlockInfoMPDao
;
private
MapBlockInfoMPDao
mapBlockInfoMPDao
;
@Autowired
@Autowired
private
MapLayerMPDao
mapLayerMPDao
;
@Autowired
private
MapLayerCustomizeMPDao
mapLayerCustomizeMPDao
;
private
MapLayerCustomizeMPDao
mapLayerCustomizeMPDao
;
@Autowired
@Autowired
...
@@ -147,7 +144,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
...
@@ -147,7 +144,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
String
layerName
;
String
layerName
;
// 获取layerName
// 获取layerName
MapLayer
layer1
=
mapLayerMP
Dao
.
getByLayerId
(
layerId
);
MapLayer
Entity
layer1
=
mapLayer
Dao
.
getByLayerId
(
layerId
);
if
(
layer1
==
null
)
{
if
(
layer1
==
null
)
{
MapLayerCustomize
layer2
=
mapLayerCustomizeMPDao
.
getByLayerId
(
layerId
);
MapLayerCustomize
layer2
=
mapLayerCustomizeMPDao
.
getByLayerId
(
layerId
);
if
(
layer2
==
null
)
{
if
(
layer2
==
null
)
{
...
@@ -273,8 +270,8 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
...
@@ -273,8 +270,8 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
List
<
Map
<
String
,
String
>>
items
=
new
ArrayList
<>();
List
<
Map
<
String
,
String
>>
items
=
new
ArrayList
<>();
// 获取通用图层
// 获取通用图层
List
<
MapLayer
>
layers
=
mapLayerMPDao
.
selectList
(
null
);
List
<
MapLayer
Entity
>
layers
=
mapLayerDao
.
findAll
(
);
for
(
MapLayer
r:
layers
){
for
(
MapLayer
Entity
r:
layers
){
Map
<
String
,
String
>
m
=
new
HashMap
<>();
Map
<
String
,
String
>
m
=
new
HashMap
<>();
m
.
put
(
"layerId"
,
r
.
getLayerId
());
m
.
put
(
"layerId"
,
r
.
getLayerId
());
m
.
put
(
"layerName"
,
r
.
getLayer
());
m
.
put
(
"layerName"
,
r
.
getLayer
());
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment