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 f3f8f699
authored
Aug 04, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp2jpa
1 parent
559121e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 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 @
f3f8f69
...
@@ -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
MapLayerCustomizeMPDao
mapLayerCustomizeMPDao
;
@Autowired
private
ISaaSRemoteService
saasRemoteService
;
private
ISaaSRemoteService
saasRemoteService
;
@Autowired
@Autowired
...
@@ -146,7 +143,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
...
@@ -146,7 +143,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
// 获取layerName
// 获取layerName
MapLayerEntity
layer1
=
mapLayerDao
.
getByLayerId
(
layerId
);
MapLayerEntity
layer1
=
mapLayerDao
.
getByLayerId
(
layerId
);
if
(
layer1
==
null
)
{
if
(
layer1
==
null
)
{
MapLayerCustomize
layer2
=
mapLayerCustomizeMP
Dao
.
getByLayerId
(
layerId
);
MapLayerCustomize
Entity
layer2
=
mapLayerCustomize
Dao
.
getByLayerId
(
layerId
);
if
(
layer2
==
null
)
{
if
(
layer2
==
null
)
{
throw
new
BusinessException
(
"图层标签不存在"
);
throw
new
BusinessException
(
"图层标签不存在"
);
}
else
{
}
else
{
...
@@ -292,11 +289,8 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
...
@@ -292,11 +289,8 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
return
Result
.
success
(
items
);
return
Result
.
success
(
items
);
}
}
LambdaQueryWrapper
<
MapLayerCustomize
>
lqwLayer
=
new
LambdaQueryWrapper
<>();
List
<
MapLayerCustomizeEntity
>
layerCustomizes
=
mapLayerCustomizeDao
.
findByBranchIdInAndStatus
(
new
ArrayList
<>(
branchIds
),
1
);
lqwLayer
.
eq
(
MapLayerCustomize:
:
getStatus
,
1
);
for
(
MapLayerCustomizeEntity
r:
layerCustomizes
)
{
lqwLayer
.
in
(
MapLayerCustomize:
:
getBranchId
,
new
ArrayList
<>(
branchIds
));
List
<
MapLayerCustomize
>
layerCustomizes
=
mapLayerCustomizeMPDao
.
selectList
(
lqwLayer
);
for
(
MapLayerCustomize
r:
layerCustomizes
)
{
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