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
89605d6e
Commit
89605d6e
authored
Jan 15, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物联趋势图差8小时问题
parent
2aaaecad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
TopographyController.java
.../yeejoin/equipmanage/controller/TopographyController.java
+2
-6
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/TopographyController.java
View file @
89605d6e
...
...
@@ -915,14 +915,10 @@ public class TopographyController extends AbstractBaseController {
Date
useDate
=
null
;
String
indexKey
=
null
;
if
(
vos
.
get
(
i
).
getKey
().
equals
(
"time"
))
{
String
strDate
=
String
.
valueOf
(
vos
.
get
(
i
).
getValue
()).
substring
(
0
,
19
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
ISO8601_DATE_HOUR_MIN_SEC
);
useDate
=
sdf
.
parse
(
strDate
);
useDate
=
dateParse
(
vos
.
get
(
i
).
getValue
().
toString
());
indexKey
=
String
.
valueOf
(
vos
.
get
(
i
+
1
).
getKey
());
}
else
{
String
strDate
=
String
.
valueOf
(
vos
.
get
(
i
+
1
).
getValue
()).
substring
(
0
,
19
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
ISO8601_DATE_HOUR_MIN_SEC
);
useDate
=
sdf
.
parse
(
strDate
);
useDate
=
dateParse
(
vos
.
get
(
i
).
getValue
().
toString
());
indexKey
=
String
.
valueOf
(
vos
.
get
(
i
).
getKey
());
}
if
(!
dateMap
.
containsKey
(
indexKey
))
{
...
...
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