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
16813688
Commit
16813688
authored
Apr 15, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改时间转换
parent
ddda0b7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
TopographyController.java
.../yeejoin/equipmanage/controller/TopographyController.java
+3
-2
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 @
16813688
...
...
@@ -869,12 +869,13 @@ public class TopographyController extends AbstractBaseController {
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
DateUtils
.
DATE_TIME_T_PATTERN
);
SimpleDateFormat
sdf1
=
new
SimpleDateFormat
(
DateUtils
.
DATE_TIME_PATTERN
);
logger
.
info
(
"返回时间===================================("
+
vo
.
getValue
()
+
") ======================================="
);
Date
date
=
sdf
.
parse
(
String
.
valueOf
(
vo
.
getValue
()));
sdf
.
setTimeZone
(
TimeZone
.
getTimeZone
(
"UTC"
));
Date
date
=
sdf
.
parse
(
String
.
valueOf
(
vo
.
getValue
()));
// String time= sdf.format(date);
String
time
=
DateTimeUtil
.
format
(
date
,
DateTimeUtil
.
ISO_DATE_HOUR24_MIN_SEC
);
dates
.
add
(
sdf1
.
parse
(
time
));
logger
.
info
(
"返回时间===================================("
+
sdf
.
parse
(
String
.
valueOf
(
vo
.
getValue
())
)
+
") ======================================="
);
logger
.
info
(
"返回时间===================================("
+
sdf
1
.
parse
(
time
)
+
") ======================================="
);
}
List
<
EquipmentSpecificIndex
>
indexes
=
equipmentSpecificIndexMapper
.
getEquipmentSpeIndexByIotCodeAndTrend
(
iotCode
);
if
(
0
<
indexes
.
size
())
{
...
...
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