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
ed4904fa
Commit
ed4904fa
authored
May 17, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务总览 近七日接口修改
parent
f54833e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
McbWarningMapper.xml
...pi/src/main/resources/mapper/warning/McbWarningMapper.xml
+8
-8
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/warning/McbWarningMapper.xml
View file @
ed4904fa
...
...
@@ -68,24 +68,24 @@
<!-- ORDER BY-->
<!-- b.alarmDate ASC-->
SELECT
a.date
as axisData ,
DATE_FORMAT(a.date,'%m/%d')
as axisData ,
IFNULL(b.seriesData,0) as seriesData
FROM
(
SELECT
CURDATE(
) AS date UNION ALL
DATE_SUB( CURDATE( ), INTERVAL 6 DAY
) AS date UNION ALL
SELECT
DATE_SUB( CURDATE( ), INTERVAL
1
DAY ) AS date UNION ALL
DATE_SUB( CURDATE( ), INTERVAL
5
DAY ) AS date UNION ALL
SELECT
DATE_SUB( CURDATE( ), INTERVAL
2
DAY ) AS date UNION ALL
DATE_SUB( CURDATE( ), INTERVAL
4
DAY ) AS date UNION ALL
SELECT
DATE_SUB( CURDATE( ), INTERVAL 3 DAY ) AS date UNION ALL
SELECT
DATE_SUB( CURDATE( ), INTERVAL
4
DAY ) AS date UNION ALL
DATE_SUB( CURDATE( ), INTERVAL
2
DAY ) AS date UNION ALL
SELECT
DATE_SUB( CURDATE( ), INTERVAL
5
DAY ) AS date UNION ALL
DATE_SUB( CURDATE( ), INTERVAL
1
DAY ) AS date UNION ALL
SELECT
DATE_SUB( CURDATE( ), INTERVAL 6 DAY
) AS date
CURDATE(
) AS date
) a
LEFT JOIN (SELECT
IFNULL( count( log.SEQUENCE_NBR ), 0 ) AS seriesData,
...
...
@@ -96,7 +96,7 @@
log.WARNING_SOURCE_TYPE_CODE IN ( SELECT CODE FROM amos_mcb.mcb_data_dictionary WHERE remark = 'OVERVIEW' )
AND date( log.CREATE_DATE ) >= CURDATE( ) - INTERVAL 7 DAY
GROUP BY
date( log.CREATE_DATE )) b ON a.date = b.axisData
date( log.CREATE_DATE )) b ON a.date = b.axisData
ORDER BY axisData
</select>
<select
id=
"queryWarningList"
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