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
1bee9ea9
Commit
1bee9ea9
authored
May 21, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口调整
parent
cd0126f0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
LiResourceController.java
...n/modules/liresource/controller/LiResourceController.java
+1
-0
LiResourceMapper.xml
...src/main/resources/mapper/liResource/LiResourceMapper.xml
+1
-1
LiStationMapMapper.xml
...c/main/resources/mapper/liResource/LiStationMapMapper.xml
+1
-0
AlarmsInfoMapper.xml
...ram/src/main/resources/mapper/alarms/AlarmsInfoMapper.xml
+3
-0
No files found.
microservice-admin/src/main/java/com/devplatform/admin/modules/liresource/controller/LiResourceController.java
View file @
1bee9ea9
...
@@ -429,6 +429,7 @@ public class LiResourceController extends AbstractController {
...
@@ -429,6 +429,7 @@ public class LiResourceController extends AbstractController {
Map
<
String
,
Object
>
mapResource
=
new
HashMap
<>(
16
);
Map
<
String
,
Object
>
mapResource
=
new
HashMap
<>(
16
);
mapResource
.
put
(
"id"
,
resource
.
getId
());
mapResource
.
put
(
"id"
,
resource
.
getId
());
mapResource
.
put
(
"resourceName"
,
resource
.
getName
());
mapResource
.
put
(
"resourceName"
,
resource
.
getName
());
mapResource
.
put
(
"mapStationName"
,
resource
.
getStationName
()+
resource
.
getTierName
());
childrenDic
.
add
(
mapResource
);
childrenDic
.
add
(
mapResource
);
iterator
.
remove
();
iterator
.
remove
();
}
}
...
...
microservice-admin/src/main/resources/mapper/liResource/LiResourceMapper.xml
View file @
1bee9ea9
...
@@ -217,7 +217,7 @@
...
@@ -217,7 +217,7 @@
LEFT JOIN li_resource_camera lic on lic.resource_id = li.id and lic.station_id = li.station_id
LEFT JOIN li_resource_camera lic on lic.resource_id = li.id and lic.station_id = li.station_id
<include
refid=
"queryPageByListClause2"
></include>
<include
refid=
"queryPageByListClause2"
></include>
GROUP BY li.id
GROUP BY li.id
ORDER BY li.create_time DESC
ORDER BY li.
station_id,li.
create_time DESC
</select>
</select>
<select
id=
"getBeanById"
parameterType=
"Object"
resultMap=
"BaseResultMap"
>
<select
id=
"getBeanById"
parameterType=
"Object"
resultMap=
"BaseResultMap"
>
...
...
microservice-admin/src/main/resources/mapper/liResource/LiStationMapMapper.xml
View file @
1bee9ea9
...
@@ -76,6 +76,7 @@
...
@@ -76,6 +76,7 @@
select lsm.id,lsm.name,ls.station_name as stationName
select lsm.id,lsm.name,ls.station_name as stationName
from li_station_map lsm
from li_station_map lsm
left join li_station ls on ls.id = lsm.station_id
left join li_station ls on ls.id = lsm.station_id
where lsm.deleted=0
order by lsm.station_id,lsm.order_num
order by lsm.station_id,lsm.order_num
</select>
</select>
...
...
microservice-alram/src/main/resources/mapper/alarms/AlarmsInfoMapper.xml
View file @
1bee9ea9
...
@@ -63,6 +63,9 @@
...
@@ -63,6 +63,9 @@
<!-- 分页查询条件 -->
<!-- 分页查询条件 -->
<sql
id=
"queryPageByListClause"
>
<sql
id=
"queryPageByListClause"
>
where ai.deleted=0
where ai.deleted=0
<if
test=
"type != null"
>
and ai.type = #{type}
</if>
<if
test=
"eventType != null and eventType !='' "
>
<if
test=
"eventType != null and eventType !='' "
>
and ai.event_type = #{eventType}
and ai.event_type = #{eventType}
</if>
</if>
...
...
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