Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
e503abdf
Commit
e503abdf
authored
Oct 18, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排序问题修改
parent
59a66838
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
IdxBizFanHealthIndexMapper.xml
...n/resources/mapper/cluster/IdxBizFanHealthIndexMapper.xml
+21
-3
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizFanHealthIndexMapper.xml
View file @
e503abdf
...
@@ -318,7 +318,16 @@
...
@@ -318,7 +318,16 @@
SELECT
SELECT
wr.WARNING_NAME AS warningName,
wr.WARNING_NAME AS warningName,
concat('光伏-', wr.POINT_NAME) AS pointName,
concat('光伏-', wr.POINT_NAME) AS pointName,
count( 1 ) AS num
count( 1 ) AS num,
( SELECT count( 1 ) FROM idx_biz_pv_warning_record
<where>
DISPOSOTION_STATE = '未处置' AND wr.POINT_NAME = POINT_NAME
<if
test=
"areaCode != null and areaCode != ''"
>
and ARAE like concat('%', #{areaCode}, '%')
</if>
</where>
) AS allNum
FROM
FROM
idx_biz_pv_warning_record wr
idx_biz_pv_warning_record wr
<where>
<where>
...
@@ -333,7 +342,16 @@
...
@@ -333,7 +342,16 @@
SELECT
SELECT
wr.WARNING_NAME AS warningName,
wr.WARNING_NAME AS warningName,
concat('风电-', wr.POINT_NAME) AS pointName,
concat('风电-', wr.POINT_NAME) AS pointName,
count( 1 ) AS num
count( 1 ) AS num,
( SELECT count( 1 ) FROM idx_biz_fan_warning_record
<where>
DISPOSOTION_STATE = '未处置' AND wr.POINT_NAME = POINT_NAME
<if
test=
"areaCode != null and areaCode != ''"
>
and ARAE like concat('%', #{areaCode}, '%')
</if>
</where>
) AS allNum
FROM
FROM
idx_biz_fan_warning_record wr
idx_biz_fan_warning_record wr
<where>
<where>
...
@@ -349,7 +367,7 @@
...
@@ -349,7 +367,7 @@
WHERE
WHERE
a.pointName IS NOT NULL
a.pointName IS NOT NULL
AND a.pointName != ''
AND a.pointName != ''
order by a.
n
um ASC
order by a.
allN
um ASC
</select>
</select>
<select
id=
"getSubSystemInfo"
resultType=
"java.util.Map"
>
<select
id=
"getSubSystemInfo"
resultType=
"java.util.Map"
>
...
...
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