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
4cad1c3a
Commit
4cad1c3a
authored
Aug 27, 2020
by
unset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-vehicle-price' into dev-tiande
parents
6ce0909b
187f6544
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
VehicleHolidayPriceInfoBiz.java
...xxfc/platform/vehicle/biz/VehicleHolidayPriceInfoBiz.java
+2
-4
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleHolidayPriceInfoBiz.java
View file @
4cad1c3a
...
@@ -55,8 +55,7 @@ public class VehicleHolidayPriceInfoBiz extends BaseBiz<VehicleHolidayPriceInfoM
...
@@ -55,8 +55,7 @@ public class VehicleHolidayPriceInfoBiz extends BaseBiz<VehicleHolidayPriceInfoM
for
(
String
date
:
getAllDate
(
vehicleHolidayPriceInfo
.
getStartDate
(),
vehicleHolidayPriceInfo
.
getEndDate
()))
{
for
(
String
date
:
getAllDate
(
vehicleHolidayPriceInfo
.
getStartDate
(),
vehicleHolidayPriceInfo
.
getEndDate
()))
{
vehicleHolidayPriceInfo
.
setFestivalDate
(
DateTime
.
parse
(
date
,
DATE_TIME_FORMATTER
).
toDate
());
vehicleHolidayPriceInfo
.
setFestivalDate
(
DateTime
.
parse
(
date
,
DATE_TIME_FORMATTER
).
toDate
());
VehicleHolidayPriceInfo
oldValue
=
getByVehicleId
(
vehicleHolidayPriceInfo
.
getVehicleId
(),
date
);
VehicleHolidayPriceInfo
oldValue
=
getByVehicleId
(
vehicleHolidayPriceInfo
.
getVehicleId
(),
date
);
if
(
oldValue
==
null
)
{
if
(
oldValue
==
null
&&
vehicleHolidayPriceInfo
.
getId
()
==
null
)
{
vehicleHolidayPriceInfo
.
setId
(
null
);
insertSelectiveRe
(
vehicleHolidayPriceInfo
);
insertSelectiveRe
(
vehicleHolidayPriceInfo
);
}
else
{
}
else
{
BeanUtil
.
copyProperties
(
vehicleHolidayPriceInfo
,
oldValue
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
BeanUtil
.
copyProperties
(
vehicleHolidayPriceInfo
,
oldValue
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
...
@@ -72,8 +71,7 @@ public class VehicleHolidayPriceInfoBiz extends BaseBiz<VehicleHolidayPriceInfoM
...
@@ -72,8 +71,7 @@ public class VehicleHolidayPriceInfoBiz extends BaseBiz<VehicleHolidayPriceInfoM
vehicleHolidayPriceInfo
.
setVehicleId
(
vehicleInfo
.
getId
());
vehicleHolidayPriceInfo
.
setVehicleId
(
vehicleInfo
.
getId
());
vehicleHolidayPriceInfo
.
setCompanyId
(
vehicleInfo
.
getSubordinateBranch
());
vehicleHolidayPriceInfo
.
setCompanyId
(
vehicleInfo
.
getSubordinateBranch
());
vehicleHolidayPriceInfo
.
setModelId
(
vehicleInfo
.
getModelId
());
vehicleHolidayPriceInfo
.
setModelId
(
vehicleInfo
.
getModelId
());
vehicleHolidayPriceInfo
.
setId
(
null
);
if
(
oldValue
==
null
&&
vehicleHolidayPriceInfo
.
getId
()
==
null
)
{
if
(
oldValue
==
null
)
{
insertSelectiveRe
(
vehicleHolidayPriceInfo
);
insertSelectiveRe
(
vehicleHolidayPriceInfo
);
}
else
{
}
else
{
BeanUtil
.
copyProperties
(
vehicleHolidayPriceInfo
,
oldValue
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
BeanUtil
.
copyProperties
(
vehicleHolidayPriceInfo
,
oldValue
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
...
...
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