Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
00126632
Commit
00126632
authored
Aug 22, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日志转换bug
parent
ebdce88c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
RentVehicleBookDTO.java
...va/com/xxfc/platform/vehicle/pojo/RentVehicleBookDTO.java
+3
-2
No files found.
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/RentVehicleBookDTO.java
View file @
00126632
...
...
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
import
lombok.Data
;
import
java.time.Instant
;
import
java.time.LocalDate
;
import
java.time.LocalDateTime
;
import
java.time.ZoneOffset
;
import
java.util.List
;
...
...
@@ -94,7 +95,7 @@ public class RentVehicleBookDTO extends PageParam {
this
.
bookStartDate
=
bookStartDate
;
//首次设置
if
(
null
==
this
.
startDateExtend
)
{
this
.
startDateExtend
=
YMR_SLASH_FORMATTER
.
format
(
LocalDate
Time
.
parse
(
bookStartDate
,
YMR_SLASH_FORMATTER
).
minusDays
(
1L
));
this
.
startDateExtend
=
YMR_SLASH_FORMATTER
.
format
(
LocalDate
.
parse
(
bookStartDate
,
YMR_SLASH_FORMATTER
).
minusDays
(
1L
));
}
}
...
...
@@ -102,7 +103,7 @@ public class RentVehicleBookDTO extends PageParam {
this
.
bookEndDate
=
bookEndDate
;
//首次设置
if
(
null
==
this
.
endDateExtend
)
{
this
.
endDateExtend
=
YMR_SLASH_FORMATTER
.
format
(
LocalDate
Time
.
parse
(
bookEndDate
,
YMR_SLASH_FORMATTER
).
plusDays
(
1L
));
this
.
endDateExtend
=
YMR_SLASH_FORMATTER
.
format
(
LocalDate
.
parse
(
bookEndDate
,
YMR_SLASH_FORMATTER
).
plusDays
(
1L
));
}
}
}
\ No newline at end of file
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