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
e0094785
Commit
e0094785
authored
Aug 06, 2024
by
lilongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、解决变量层级健康等级划分页面下的风电/光伏分析变量运行监测数据趋势图按照时间等查询问题
parent
e350e20b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
IdxBizFanHealthIndexServiceImpl.java
...iop/biz/service/impl/IdxBizFanHealthIndexServiceImpl.java
+6
-7
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/IdxBizFanHealthIndexServiceImpl.java
View file @
e0094785
...
@@ -107,19 +107,18 @@ public class IdxBizFanHealthIndexServiceImpl extends BaseService<IdxBizFanHealth
...
@@ -107,19 +107,18 @@ public class IdxBizFanHealthIndexServiceImpl extends BaseService<IdxBizFanHealth
startTime
=
sdf
.
format
(
currentDayStartTime
);
startTime
=
sdf
.
format
(
currentDayStartTime
);
endTime
=
sdf
.
format
(
currentDayEndTime
);
endTime
=
sdf
.
format
(
currentDayEndTime
);
}
else
{
}
else
{
if
(
"1"
.
equals
(
type
))
{
if
(
startTime
.
length
()
==
10
)
{
startTime
=
startTime
.
concat
(
" 00:00:00"
);
startTime
=
startTime
.
concat
(
" 00:00:00"
);
endTime
=
endTime
.
concat
(
" 23:59:59"
);
endTime
=
endTime
.
concat
(
" 23:59:59"
);
}
}
else
if
(
startTime
.
length
()
==
13
)
{
if
(
"2"
.
equals
(
type
)){
startTime
=
startTime
.
concat
(
":00:00"
);
startTime
=
startTime
.
concat
(
":00:00"
);
endTime
=
endTime
.
concat
(
":59:59"
);
endTime
=
endTime
.
concat
(
":59:59"
);
}
}
else
if
(
startTime
.
length
()
==
16
)
{
if
(
"3"
.
equals
(
type
)){
startTime
=
startTime
.
concat
(
":00"
);
startTime
=
startTime
.
concat
(
":00"
);
endTime
=
endTime
.
concat
(
":59"
);
endTime
=
endTime
.
concat
(
":59"
);
}
else
{
startTime
=
startTime
.
concat
(
" 00:00:00"
);
endTime
=
endTime
.
concat
(
" 23:59:59"
);
}
}
Date
currentDayStartTime
=
DateUtils
.
dateAddHours
(
DateUtils
.
dateParse
(
startTime
),
-
8
);
Date
currentDayStartTime
=
DateUtils
.
dateAddHours
(
DateUtils
.
dateParse
(
startTime
),
-
8
);
Date
currentDayEndTime
=
DateUtils
.
dateAddHours
(
DateUtils
.
dateParse
(
endTime
),
-
8
);
Date
currentDayEndTime
=
DateUtils
.
dateAddHours
(
DateUtils
.
dateParse
(
endTime
),
-
8
);
...
...
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