Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
zhxf_java
Project
Project
Details
Activity
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
葛齐林
zhxf_java
Commits
1639a4e7
Commit
1639a4e7
authored
May 12, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
dbbae009
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
41 deletions
+43
-41
LiResourceController.java
...n/modules/liresource/controller/LiResourceController.java
+42
-40
LiStationMapDao.java
...latform/admin/modules/liresource/dao/LiStationMapDao.java
+1
-1
No files found.
microservice-admin/src/main/java/com/devplatform/admin/modules/liresource/controller/LiResourceController.java
View file @
1639a4e7
...
...
@@ -493,6 +493,7 @@ public class LiResourceController extends AbstractController {
List
<
Map
<
String
,
Object
>>
nodes
=
new
ArrayList
<>();
for
(
LiStationMap
liStationMap
:
mapList
)
{
if
(
liStationMap
.
getStationId
().
equals
(
liStation
.
getId
())){
Map
<
String
,
Object
>
mapStationMap
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
liStationMap
),
Map
.
class
);
mapStationMap
.
put
(
"key"
,
UUID
.
randomUUID
());
mapStationMap
.
put
(
"level"
,
4
);
...
...
@@ -539,6 +540,7 @@ public class LiResourceController extends AbstractController {
nodes
.
add
(
mapStationMap
);
}
}
}
mapStation
.
put
(
"children"
,
nodes
);
childrenRoot
.
add
(
mapStation
);
});
...
...
microservice-admin/src/main/java/com/devplatform/admin/modules/liresource/dao/LiStationMapDao.java
View file @
1639a4e7
...
...
@@ -40,7 +40,7 @@ public interface LiStationMapDao extends MyBaseMapper<LiStationMap> {
* @param stationId
* @return
*/
List
<
LiStationMap
>
getListByStationId
(
String
stationId
);
List
<
LiStationMap
>
getListByStationId
(
@Param
(
"stationId"
)
String
stationId
);
List
<
Map
<
String
,
Object
>>
queryListByParam
(
LiStationMapModel
model
);
}
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