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
e67fc8d0
Commit
e67fc8d0
authored
Jul 15, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改大屏bug
parent
c0c3ef08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CylinderInfoServiceImpl.java
...ylinder/flc/biz/service/impl/CylinderInfoServiceImpl.java
+5
-5
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/service/impl/CylinderInfoServiceImpl.java
View file @
e67fc8d0
...
...
@@ -68,7 +68,9 @@ import java.math.BigDecimal;
import
java.text.DecimalFormat
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.time.LocalDate
;
import
java.time.ZonedDateTime
;
import
java.time.format.DateTimeFormatter
;
import
java.util.*
;
import
java.util.concurrent.CompletableFuture
;
import
java.util.function.Consumer
;
...
...
@@ -1501,12 +1503,10 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
List
<
String
>
times
=
new
ArrayList
<>();
Date
currentDate
=
new
Date
();
for
(
int
i
=
0
;
i
<
30
;
i
++)
{
Date
date
=
new
Date
(
currentDate
.
getTime
()
-
i
*
24
*
60
*
60
*
1000
);
times
.
add
(
sdf
.
format
(
date
));
times
.
add
(
LocalDate
.
now
().
minusDays
(
i
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd"
)));
}
Date
date
=
new
Date
(
currentDate
.
getTime
()
-
29
*
24
*
60
*
60
*
1000
);
List
<
CylinderFillingRecordStatisticsDto
>
fillingRecord
=
baseMapper
.
queryFillingRecordByOrgCode
(
orgCode
,
sdf
.
format
(
date
));
List
<
CylinderFillingRecordStatisticsDto
>
offloading
=
baseMapper
.
queryoffloadingByOrgCode
(
orgCode
,
sdf
.
format
(
date
));
List
<
CylinderFillingRecordStatisticsDto
>
fillingRecord
=
baseMapper
.
queryFillingRecordByOrgCode
(
orgCode
,
LocalDate
.
now
().
minusDays
(
29
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd"
)));
List
<
CylinderFillingRecordStatisticsDto
>
offloading
=
baseMapper
.
queryoffloadingByOrgCode
(
orgCode
,
LocalDate
.
now
().
minusDays
(
29
).
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd"
)));
if
(
fillingRecord
==
null
)
{
fillingRecord
=
new
ArrayList
<>(
0
);
}
...
...
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