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
042b8003
Commit
042b8003
authored
Oct 17, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'holiday-price' into base-modify
parents
0b1c3c3c
7e46ea87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
VehicleModelCalendarPriceBiz.java
...fc/platform/vehicle/biz/VehicleModelCalendarPriceBiz.java
+4
-3
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleModelCalendarPriceBiz.java
View file @
042b8003
...
...
@@ -270,12 +270,12 @@ public class VehicleModelCalendarPriceBiz extends BaseBiz<VehicleModelCalendarPr
break
;
default
:
break
;
}
}
free_days
=
vehicleModelCalendarPrice
.
getFreeDays
();
}
vehicleModelCalendarPriceDTO
.
setPrice
(
vehicle_price
);
vehicleModelCalendarPriceDTO
.
setFreeDays
(
free_days
);
}
vehicleModelCalendarPriceDTO
.
setPrice
(
vehicle_price
);
vehicleModelCalendarPriceDTO
.
setFreeDays
(
free_days
);
final_startLocalDate
=
final_startLocalDate
.
plusDays
(
1
);
vehicleModelCalendarPriceVos
.
add
(
vehicleModelCalendarPriceDTO
);
}
...
...
@@ -295,6 +295,7 @@ public class VehicleModelCalendarPriceBiz extends BaseBiz<VehicleModelCalendarPr
Example
.
Criteria
criteria
=
example
.
createCriteria
();
criteria
.
andEqualTo
(
"isDel"
,
0
);
criteria
.
andEqualTo
(
"vehicleModelId"
,
vehicleModelId
);
criteria
.
orIsNull
(
"vehicleModelId"
);
criteria
.
andBetween
(
"vehicleModelDay"
,
final_startDate
,
final_endDate
);
List
<
VehicleModelCalendarPrice
>
vehicleModelCalendarPrices
=
mapper
.
selectByExample
(
example
);
return
CollectionUtils
.
isEmpty
(
vehicleModelCalendarPrices
)
?
Collections
.
EMPTY_LIST
:
vehicleModelCalendarPrices
;
...
...
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