Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
07e79ebb
Commit
07e79ebb
authored
Oct 24, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
cd006ba7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
IdxBizFanWarningRecordMapper.xml
...resources/mapper/cluster/IdxBizFanWarningRecordMapper.xml
+11
-3
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizFanWarningRecordMapper.xml
View file @
07e79ebb
...
@@ -19,7 +19,11 @@
...
@@ -19,7 +19,11 @@
'pv' AS stationType,
'pv' AS stationType,
GATEWAY_ID,
GATEWAY_ID,
concat(POINT_NAME, '异常') AS pointName,
concat(POINT_NAME, '异常') AS pointName,
DISPOSOTION_DATE as disposotionDate
DISPOSOTION_DATE as disposotionDate,
(case when WARNING_NAME = '注意' then 1
when WARNING_NAME = '警告' then 2
when WARNING_NAME = '危险' then 3
end) as sort
FROM
FROM
idx_biz_pv_warning_record UNION ALL
idx_biz_pv_warning_record UNION ALL
SELECT
SELECT
...
@@ -33,7 +37,11 @@
...
@@ -33,7 +37,11 @@
'fan' AS stationType,
'fan' AS stationType,
GATEWAY_ID,
GATEWAY_ID,
concat(POINT_NAME, '异常') AS pointName,
concat(POINT_NAME, '异常') AS pointName,
DISPOSOTION_DATE as disposotionDate
DISPOSOTION_DATE as disposotionDate,
(case when WARNING_NAME = '注意' then 1
when WARNING_NAME = '警告' then 2
when WARNING_NAME = '危险' then 3
end) as sort
FROM
FROM
idx_biz_fan_warning_record
idx_biz_fan_warning_record
) a
) a
...
@@ -61,7 +69,7 @@
...
@@ -61,7 +69,7 @@
AND concat(#{endDate}, ' 23:59:59') >= a.recDate
AND concat(#{endDate}, ' 23:59:59') >= a.recDate
</if>
</if>
</where>
</where>
order by
warningName
DESC, recDate DESC
order by
sort
DESC, recDate DESC
limit #{current}, #{size}
limit #{current}, #{size}
</select>
</select>
...
...
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