Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_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
葛齐林
energyai_java
Commits
32907b78
Commit
32907b78
authored
Apr 15, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
cb871179
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
SysFaulalarmMapper.xml
...dmin/src/main/resources/mapper/sys/SysFaulalarmMapper.xml
+6
-6
No files found.
microservice-admin/src/main/resources/mapper/sys/SysFaulalarmMapper.xml
View file @
32907b78
...
@@ -43,8 +43,8 @@
...
@@ -43,8 +43,8 @@
</if>
</if>
</select>
</select>
<select
id=
"getListGroupByResourceType"
resultType=
"java.util.Map"
>
<select
id=
"getListGroupByResourceType"
resultType=
"java.util.Map"
>
select sd.name as name,t.
cNum
from
select sd.name as name,t.
value
from
(select resource_type,count(1) as
cNum
from
(select resource_type,count(1) as
value
from
sys_fault_alarm
sys_fault_alarm
where 1=1
where 1=1
<if
test=
"params.type == 1"
>
<if
test=
"params.type == 1"
>
...
@@ -61,12 +61,12 @@
...
@@ -61,12 +61,12 @@
</if>
</if>
group by resource_type) t
group by resource_type) t
left join sys_dictionary sd on sd.id = t.resource_type
left join sys_dictionary sd on sd.id = t.resource_type
order by t.
cNum
desc
order by t.
value
desc
</select>
</select>
<select
id=
"getListGroupByResourceId"
resultType=
"java.util.Map"
>
<select
id=
"getListGroupByResourceId"
resultType=
"java.util.Map"
>
select lr.name as name,t.
cNum
from
select lr.name as name,t.
value
from
(select resource_id,count(1) as
cNum
from
(select resource_id,count(1) as
value
from
sys_fault_alarm
sys_fault_alarm
where 1=1
where 1=1
<if
test=
"params.type == 1"
>
<if
test=
"params.type == 1"
>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
</if>
</if>
group by resource_id) t
group by resource_id) t
left join li_resource lr on lr.id = t.resource_id
left join li_resource lr on lr.id = t.resource_id
order by t.
cNum
desc
order by t.
value
desc
</select>
</select>
</mapper>
</mapper>
...
...
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